[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex f1f71c2 36/62: ; Fix byte-compiler warnings in s
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex f1f71c2 36/62: ; Fix byte-compiler warnings in styles |
Date: |
Sun, 20 Dec 2020 10:39:59 -0500 (EST) |
branch: externals/auctex
commit f1f71c2aa5d905d38efa1cd1d22a8ead4ef04df4
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
; Fix byte-compiler warnings in styles
---
style/acronym.el | 1 +
style/afterpage.el | 3 +++
style/algorithm.el | 3 +++
style/algpseudocode.el | 3 +++
style/alltt.el | 3 +++
style/alphanum.el | 3 +++
style/amsart.el | 6 +++++-
style/amsbook.el | 13 ++++++++-----
style/amsbsy.el | 16 +++++++++-------
style/amsfonts.el | 3 +++
style/amsmath.el | 3 +++
style/amsopn.el | 31 +++++++++++++++++--------------
style/amssymb.el | 3 +++
style/amstex.el | 10 ++++++----
style/amstext.el | 13 ++++++++-----
style/amsthm.el | 3 +++
16 files changed, 81 insertions(+), 36 deletions(-)
diff --git a/style/acronym.el b/style/acronym.el
index 2760468..04aa48b 100644
--- a/style/acronym.el
+++ b/style/acronym.el
@@ -30,6 +30,7 @@
;;; Code:
(require 'tex) ;Indispensable when compiling the call to `TeX-auto-add-type'.
+(require 'latex)
;; Silence the compiler:
(declare-function font-latex-add-keywords
diff --git a/style/afterpage.el b/style/afterpage.el
index fabd953..3e45aa0 100644
--- a/style/afterpage.el
+++ b/style/afterpage.el
@@ -30,6 +30,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
(TeX-add-style-hook
"afterpage"
(lambda ()
diff --git a/style/algorithm.el b/style/algorithm.el
index 9ad7f15..bf5c330 100644
--- a/style/algorithm.el
+++ b/style/algorithm.el
@@ -28,6 +28,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
(defvar LaTeX-algorithm-package-options
'("section")
"Package options for the algorithm package.")
diff --git a/style/algpseudocode.el b/style/algpseudocode.el
index 4a7a146..ce55e82 100644
--- a/style/algpseudocode.el
+++ b/style/algpseudocode.el
@@ -28,6 +28,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
(defvar LaTeX-algpseudocode-package-options
'("compatible" "nocompatible")
"Package options for the algpseudocode package.")
diff --git a/style/alltt.el b/style/alltt.el
index d03b811..6cf8af9 100644
--- a/style/alltt.el
+++ b/style/alltt.el
@@ -30,6 +30,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
;; Silence the compiler:
(declare-function font-latex-set-syntactic-keywords
"font-latex")
diff --git a/style/alphanum.el b/style/alphanum.el
index 0cac290..30ddbdb 100644
--- a/style/alphanum.el
+++ b/style/alphanum.el
@@ -34,6 +34,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
;; Silence the compiler:
(declare-function reftex-match-string "reftex" (n))
(defvar reftex-section-regexp)
diff --git a/style/amsart.el b/style/amsart.el
index f9c14fd..8d9293c 100644
--- a/style/amsart.el
+++ b/style/amsart.el
@@ -2,7 +2,11 @@
;;; Code:
-(TeX-add-style-hook "amsart"
+(require 'tex)
+(require 'latex)
+
+(TeX-add-style-hook
+ "amsart"
(function
(lambda ()
(TeX-run-style-hooks "amsmath" "amsthm")
diff --git a/style/amsbook.el b/style/amsbook.el
index ab18958..c8b3714 100644
--- a/style/amsbook.el
+++ b/style/amsbook.el
@@ -2,11 +2,14 @@
;;; Code:
-(TeX-add-style-hook "amsbook"
- (function
- (lambda ()
- (TeX-run-style-hooks "amsmath" "amsthm")
- (LaTeX-add-environments "abstract")))
+(require 'tex)
+(require 'latex)
+
+(TeX-add-style-hook
+ "amsbook"
+ (lambda ()
+ (TeX-run-style-hooks "amsmath" "amsthm")
+ (LaTeX-add-environments "abstract"))
LaTeX-dialect)
;;; amsbook.el ends here.
diff --git a/style/amsbsy.el b/style/amsbsy.el
index 7a939b8..e5855fb 100644
--- a/style/amsbsy.el
+++ b/style/amsbsy.el
@@ -4,13 +4,15 @@
;;; Code:
-(TeX-add-style-hook "amsbsy"
- (function
- (lambda ()
- (TeX-add-symbols
- '("boldsymbol" "Symbol")
- '("pmb" "Symbol")
- )))
+(require 'tex)
+(require 'latex)
+
+(TeX-add-style-hook
+ "amsbsy"
+ (lambda ()
+ (TeX-add-symbols
+ '("boldsymbol" "Symbol")
+ '("pmb" "Symbol")))
LaTeX-dialect)
(defvar LaTeX-amsbsy-package-options nil
diff --git a/style/amsfonts.el b/style/amsfonts.el
index 54417b1..012a20c 100644
--- a/style/amsfonts.el
+++ b/style/amsfonts.el
@@ -29,6 +29,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
;; Silence the compiler:
(declare-function font-latex-add-keywords
"font-latex"
diff --git a/style/amsmath.el b/style/amsmath.el
index f1f7069..261c309 100644
--- a/style/amsmath.el
+++ b/style/amsmath.el
@@ -30,6 +30,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
;; Fontification
(declare-function font-latex-add-keywords
"font-latex"
diff --git a/style/amsopn.el b/style/amsopn.el
index 6bce94f..77f9f53 100644
--- a/style/amsopn.el
+++ b/style/amsopn.el
@@ -28,22 +28,25 @@
;; This file adds support for `amsnopn.sty'
+(require 'tex)
+(require 'latex)
+
;;; Code:
-(TeX-add-style-hook "amsopn"
- (function
- (lambda ()
- (TeX-add-symbols
- '("DeclareMathOperator" (TeX-arg-define-macro "Math Operator: \\")
- "Expansion text for the math operator")
- '("DeclareMathOperator*" (TeX-arg-define-macro "Math Operator: \\")
- "Expansion text for the math operator")
- '("operatorname" t)
- '("operatorname*" t))
-
- (add-to-list 'LaTeX-auto-regexp-list
- '("\\\\DeclareMathOperator\\*?{?\\\\\\([A-Za-z0-9]+\\)}?"
- 1 TeX-auto-symbol))))
+(TeX-add-style-hook
+ "amsopn"
+ (lambda ()
+ (TeX-add-symbols
+ '("DeclareMathOperator" (TeX-arg-define-macro "Math Operator: \\")
+ "Expansion text for the math operator")
+ '("DeclareMathOperator*" (TeX-arg-define-macro "Math Operator: \\")
+ "Expansion text for the math operator")
+ '("operatorname" t)
+ '("operatorname*" t))
+
+ (add-to-list 'LaTeX-auto-regexp-list
+ '("\\\\DeclareMathOperator\\*?{?\\\\\\([A-Za-z0-9]+\\)}?"
+ 1 TeX-auto-symbol)))
LaTeX-dialect
)
diff --git a/style/amssymb.el b/style/amssymb.el
index a380f0a..688f8a1 100644
--- a/style/amssymb.el
+++ b/style/amssymb.el
@@ -33,6 +33,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
(TeX-add-style-hook
"amssymb"
(lambda ()
diff --git a/style/amstex.el b/style/amstex.el
index f8a35a4..e3ec048 100644
--- a/style/amstex.el
+++ b/style/amstex.el
@@ -40,12 +40,14 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
(TeX-add-style-hook
"amstex"
- (function
- (lambda ()
- (unless (memq major-mode '(plain-tex-mode ams-tex-mode))
- (TeX-run-style-hooks "amsmath"))))
+ (lambda ()
+ (unless (memq major-mode '(plain-tex-mode ams-tex-mode))
+ (TeX-run-style-hooks "amsmath")))
LaTeX-dialect)
(defvar LaTeX-amstex-package-options '("noamsfonts" "psamsfonts"
diff --git a/style/amstext.el b/style/amstext.el
index db7c9e7..d6e3884 100644
--- a/style/amstext.el
+++ b/style/amstext.el
@@ -4,11 +4,14 @@
;;; Code:
-(TeX-add-style-hook "amstext"
- (function
- (lambda ()
- (TeX-add-symbols
- '("text" t))))
+(require 'tex)
+(require 'latex)
+
+(TeX-add-style-hook
+ "amstext"
+ (lambda ()
+ (TeX-add-symbols
+ '("text" t)))
LaTeX-dialect)
(defvar LaTeX-amstext-package-options nil
diff --git a/style/amsthm.el b/style/amsthm.el
index f7cc6bb..529ec4c 100644
--- a/style/amsthm.el
+++ b/style/amsthm.el
@@ -31,6 +31,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
;; Silence the compiler:
(declare-function font-latex-add-keywords
"font-latex"
- [elpa] externals/auctex 384c1d2 08/62: Use declared dynamic variable in tex-jp, (continued)
- [elpa] externals/auctex 384c1d2 08/62: Use declared dynamic variable in tex-jp, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 717e5f0 06/62: Simplify nested `let's, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex ced4b1a 10/62: Adapt styles to lexical-binding, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 42f061a 17/62: Improve style/amsthm.el, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 08d01c1 19/62: ; * style/changelog.el: Silence the compiler for `reftex-label-alist'., Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 4c1430a 20/62: Add new style/appendix.el, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 5bffc24 24/62: ; * font-latex.el (font-latex-update-math-env): Fix docstring., Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 072cfc7 28/62: ; Convert suffix to pattern rule, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex a9c37b7 29/62: ; Add new make target dynvars-check, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 3fa1baa 32/62: ; Improve dynvars check, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex f1f71c2 36/62: ; Fix byte-compiler warnings in styles,
Tassilo Horn <=
- [elpa] externals/auctex 70dc031 38/62: ; Fix more byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex fc037de 44/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 471748b 46/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex a3510c7 51/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 6f232c3 52/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 7d87b2a 39/62: ; Fix more byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex dabe30c 02/62: Arrange test condition, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 2b9b3a8 09/62: Enable lexical-binding in all style files., Tassilo Horn, 2020/12/20
- [elpa] externals/auctex cebf8cc 16/62: Enable lexical-binding for texmathp.el, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex c4583f0 15/62: ; * tests/tex/command-expansion.el: Update copyright year., Tassilo Horn, 2020/12/20