[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 352de40 50/62: ; Fix byte-compile
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 352de40 50/62: ; Fix byte-compile warnings in styles |
Date: |
Sun, 20 Dec 2020 10:40:04 -0500 (EST) |
branch: externals/auctex
commit 352de40c94ee40879365d4d2239ff8c0ee63b8c6
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
; Fix byte-compile warnings in styles
---
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(-)
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:
- [AUCTeX-diffs] [elpa] externals/auctex 59c40b0 30/62: Ensure the trailing slash for directory, (continued)
- [AUCTeX-diffs] [elpa] externals/auctex 59c40b0 30/62: Ensure the trailing slash for directory, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex cbfa1db 43/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex a3510c7 51/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 858e6dc 35/62: ; Fix more byte-compiler warnings, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex b5b29a8 55/62: ; Remove duplicate require's of tex.el, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex a92fe0b 59/62: Add new style/scholax.el, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 92de017 53/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex ec263fc 54/62: ; Fix byte-compile warnings, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex eb40d5e 57/62: ; Fix doc string, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 3db4ed7 58/62: ; * tex-bar.el: Enable lexical binding., Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 352de40 50/62: ; Fix byte-compile warnings in styles,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex 8afd11e 03/62: ; Silence the compiler, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex e9af4f1 14/62: * style/fancyvrb.el: Replace dynamically bound `optional'., Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex cebf8cc 16/62: Enable lexical-binding for texmathp.el, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 4c1430a 20/62: Add new style/appendix.el, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex bf30c11 05/62: Make "%o" compatible again with file name with spaces, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex b41e063 62/62: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex fc037de 44/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 6f232c3 52/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex ced4b1a 10/62: Adapt styles to lexical-binding, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex bacae01 45/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20