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. 352de40c94ee40879365d


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 352de40c94ee40879365d4d2239ff8c0ee63b8c6
Date: Sun, 1 Nov 2020 11:30:51 -0500 (EST)

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  352de40c94ee40879365d4d2239ff8c0ee63b8c6 (commit)
      from  3c129fbcdbe3725cc1e24ae30b0d097bf231cf2c (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 352de40c94ee40879365d4d2239ff8c0ee63b8c6
Author: Tassilo Horn <tsdh@gnu.org>
Date:   Sun Nov 1 17:30:42 2020 +0100

    ; Fix byte-compile warnings in styles

diff --git a/style/plhb.el b/style/plhb.el
index 3247e2a..14d86ab 100644
--- a/style/plhb.el
+++ b/style/plhb.el
@@ -8,6 +8,7 @@
 ;;; Code:
 
 (require 'tex)
+(require 'latex)
 
 (defvar LaTeX-plhb-mode-syntax-table
   (copy-syntax-table LaTeX-mode-syntax-table)
diff --git a/style/polyglossia.el b/style/polyglossia.el
index 97fee5d..e52d54e 100644
--- a/style/polyglossia.el
+++ b/style/polyglossia.el
@@ -37,6 +37,7 @@
 
 (require 'tex) ;Indispensable when compiling the call to `TeX-auto-add-type'.
 (require 'latex)
+(require 'tex-buf)
 
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
diff --git a/style/pst-node.el b/style/pst-node.el
index 8a72647..be28fb0 100644
--- a/style/pst-node.el
+++ b/style/pst-node.el
@@ -35,6 +35,9 @@
 
 ;;; Code:
 
+(require 'tex)
+(require 'latex)
+
 ;; Silence the compiler:
 (declare-function LaTeX-package-parameter-value
                  "pstricks" (param pname))
diff --git a/style/pst-plot.el b/style/pst-plot.el
index 843c614..bcbeb9d 100644
--- a/style/pst-plot.el
+++ b/style/pst-plot.el
@@ -35,6 +35,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 ;; Silence the compiler:
 (declare-function LaTeX-pst-arrows "pstricks" ())
 (declare-function LaTeX-pst-point  "pstricks" ())
diff --git a/style/pst-slpe.el b/style/pst-slpe.el
index 7b68ce1..e9f78e6 100644
--- a/style/pst-slpe.el
+++ b/style/pst-slpe.el
@@ -33,6 +33,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 ;; Silence the compiler:
 (defvar LaTeX-pst-fillstyle-list)
 (defvar LaTeX-pst-parameters-completion-regexp)
@@ -51,23 +53,22 @@
 ;;; Define hook
 (TeX-add-style-hook
  "pst-slpe"
- (function
-  (lambda ()
-    (TeX-run-style-hooks
-     "pstricks")
-    (unless (member "slope" LaTeX-pst-fillstyle-list)
-      (setq LaTeX-pst-fillstyle-list
-            (append LaTeX-pst-fillstyle-list
-                    '("slope" "slopes" "ccslope" "ccslopes" "radslope"
-                    "radslopes")))
-      (setq LaTeX-pst-parameters-completion-regexp
-            (concat
-             (substring LaTeX-pst-parameters-completion-regexp 0 -2)
-             "\\|slopebegin\\|slopeend\\)")))
-    (make-local-variable 'LaTeX-pst-parameters-name-list)
-    (setq LaTeX-pst-parameters-name-list
-          (append LaTeX-pstslpe-parameters-name-list
-                  LaTeX-pst-parameters-name-list))))
+ (lambda ()
+   (TeX-run-style-hooks
+    "pstricks")
+   (unless (member "slope" LaTeX-pst-fillstyle-list)
+     (setq LaTeX-pst-fillstyle-list
+           (append LaTeX-pst-fillstyle-list
+                   '("slope" "slopes" "ccslope" "ccslopes" "radslope"
+                     "radslopes")))
+     (setq LaTeX-pst-parameters-completion-regexp
+           (concat
+            (substring LaTeX-pst-parameters-completion-regexp 0 -2)
+            "\\|slopebegin\\|slopeend\\)")))
+   (make-local-variable 'LaTeX-pst-parameters-name-list)
+   (setq LaTeX-pst-parameters-name-list
+         (append LaTeX-pstslpe-parameters-name-list
+                 LaTeX-pst-parameters-name-list)))
  TeX-dialect)
 
 ;;; pst-slpe.el ends here
diff --git a/style/pstricks.el b/style/pstricks.el
index 489fcb3..7b40256 100644
--- a/style/pstricks.el
+++ b/style/pstricks.el
@@ -61,6 +61,8 @@
 
 ;;; Code:
 
+(require 'tex)
+(require 'latex)
 (eval-when-compile
   (require 'cl-lib))
 
diff --git a/style/pythontex.el b/style/pythontex.el
index c408326..18ba765 100644
--- a/style/pythontex.el
+++ b/style/pythontex.el
@@ -31,6 +31,9 @@
 
 ;;; Code:
 
+(require 'tex)
+(require 'latex)
+
 ;; Silence the compiler:
 ;; `LaTeX-fancyvrb-key-val-options-local' will be defined after
 ;; loading `fvextra.el' which loads `fancyvrb.el' in return:

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

Summary of changes:
 style/plhb.el        |  1 +
 style/polyglossia.el |  1 +
 style/pst-node.el    |  3 +++
 style/pst-plot.el    |  2 ++
 style/pst-slpe.el    | 35 ++++++++++++++++++-----------------
 style/pstricks.el    |  2 ++
 style/pythontex.el   |  3 +++
 7 files changed, 30 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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