[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
main 6ff4fca5 027/257: Add requires to fix separate compilation.
From: |
Tassilo Horn |
Subject: |
main 6ff4fca5 027/257: Add requires to fix separate compilation. |
Date: |
Fri, 19 Apr 2024 15:36:18 -0400 (EDT) |
branch: main
commit 6ff4fca5fc332789c8e295cc38a3334019ccfef1
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
Add requires to fix separate compilation.
---
latex.el | 1 +
preview.el | 3 ++-
style/acro.el | 4 +++-
style/acronym.el | 4 +++-
style/siunitx.el | 2 ++
5 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/latex.el b/latex.el
index af1c676c..549fe67a 100644
--- a/latex.el
+++ b/latex.el
@@ -30,6 +30,7 @@
(require 'tex)
(require 'tex-style)
+(eval-when-compile (require 'cl))
;;; Syntax
diff --git a/preview.el b/preview.el
index 8619ffea..4373084e 100644
--- a/preview.el
+++ b/preview.el
@@ -506,7 +506,8 @@ of a cell used for string concatenation."
(t (error "Bad string expansion"))))
(defconst preview-expandable-string
- ((lambda (f) (funcall f (funcall f 'sexp)))
+ (funcall
+ (lambda (f) (funcall f (funcall f 'sexp)))
(lambda (x)
`(choice
string
diff --git a/style/acro.el b/style/acro.el
index fda4b715..6d74533b 100644
--- a/style/acro.el
+++ b/style/acro.el
@@ -1,6 +1,6 @@
;;; acro.el --- AUCTeX style for `acro.sty' version 1.2a.
-;; Copyright (C) 2013 Free Software Foundation, Inc.
+;; Copyright (C) 2013, 2014 Free Software Foundation, Inc.
;; Maintainer: auctex-devel@gnu.org
;; Author: Mosè Giordano <giordano.mose@libero.it>
@@ -29,6 +29,8 @@
;;; Code:
+(require 'tex) ;Indispensable when compiling the call to `TeX-auto-add-type'.
+
(defvar LaTeX-acro-package-options-list
'(;; General Options
("version" ("0" "1"))
diff --git a/style/acronym.el b/style/acronym.el
index ea29d1b9..b97f80a2 100644
--- a/style/acronym.el
+++ b/style/acronym.el
@@ -1,6 +1,6 @@
;;; acronym.el --- AUCTeX style for `acronym.sty' version 1.38.
-;; Copyright (C) 2013 Free Software Foundation, Inc.
+;; Copyright (C) 2013, 2014 Free Software Foundation, Inc.
;; Maintainer: auctex-devel@gnu.org
;; Author: Mosè Giordano <giordano.mose@libero.it>
@@ -29,6 +29,8 @@
;;; Code:
+(require 'tex) ;Indispensable when compiling the call to `TeX-auto-add-type'.
+
(TeX-auto-add-type "acronym" "LaTeX")
;; Self Parsing -- see (info "(auctex)Hacking the Parser").
diff --git a/style/siunitx.el b/style/siunitx.el
index 97226389..b279cc12 100644
--- a/style/siunitx.el
+++ b/style/siunitx.el
@@ -29,6 +29,8 @@
;;; Code:
+(require 'tex) ;Indispensable when compiling the call to `TeX-auto-add-type'.
+
(TeX-auto-add-type "siunitx-unit" "LaTeX")
;; Self Parsing -- see (info "(auctex)Hacking the Parser").
`\\(?:\\[.*\\]\\)?'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- main 6ff4fca5 027/257: Add requires to fix separate compilation.,
Tassilo Horn <=