auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. f1f71c2aa5d905d38efa1


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. f1f71c2aa5d905d38efa1cd1d22a8ead4ef04df4
Date: Sat, 31 Oct 2020 10:09:10 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  f1f71c2aa5d905d38efa1cd1d22a8ead4ef04df4 (commit)
      from  858e6dc0c9f50537adb741d0622ac6da732b020e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f1f71c2aa5d905d38efa1cd1d22a8ead4ef04df4
Author: Tassilo Horn <tsdh@gnu.org>
Date:   Sat Oct 31 15:08:48 2020 +0100

    ; Fix byte-compiler warnings in styles

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"

-----------------------------------------------------------------------

Summary of changes:
 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(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

[Prev in Thread] Current Thread [Next in Thread]