[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 5c28751 33/62: ; Fix some byte-compiler warnings
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 5c28751 33/62: ; Fix some byte-compiler warnings |
Date: |
Sun, 20 Dec 2020 10:39:58 -0500 (EST) |
branch: externals/auctex
commit 5c287512117fdc92ad0c2072d798662a4807d5fa
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
; Fix some byte-compiler warnings
---
style/acro.el | 3 ++-
style/arabxetex.el | 3 +++
style/beamer.el | 2 +-
style/bidi.el | 6 ++++++
style/doc.el | 2 +-
5 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/style/acro.el b/style/acro.el
index c3a3256..a691d6e 100644
--- a/style/acro.el
+++ b/style/acro.el
@@ -29,7 +29,8 @@
;;; Code:
-(require 'tex) ;Indispensable when compiling the call to `TeX-auto-add-type'.
+(require 'tex)
+(require 'latex)
;; Silence the compiler:
(declare-function font-latex-add-keywords
diff --git a/style/arabxetex.el b/style/arabxetex.el
index 249d7a4..d675de2 100644
--- a/style/arabxetex.el
+++ b/style/arabxetex.el
@@ -35,6 +35,9 @@
(declare-function font-latex-add-keywords
"font-latex"
(keywords class))
+(declare-function TeX-check-engine-add-engines
+ "tex-buf"
+ (&rest engines))
(TeX-add-style-hook
"arabxetex"
diff --git a/style/beamer.el b/style/beamer.el
index 453878f..5221c4f 100644
--- a/style/beamer.el
+++ b/style/beamer.el
@@ -62,7 +62,7 @@
(TeX-add-style-hook
"beamer"
(lambda ()
- (add-hook 'LaTeX-after-insert-env-hooks 'LaTeX-beamer-after-insert-env nil
t)
+ (add-hook 'LaTeX-after-insert-env-hook 'LaTeX-beamer-after-insert-env nil t)
(TeX-run-style-hooks "amsmath" "amssymb" "amsthm" "color" "geometry"
"hyperref" "inputenc" "translator" "xcolor")
diff --git a/style/bidi.el b/style/bidi.el
index e2ad675..d1e080d 100644
--- a/style/bidi.el
+++ b/style/bidi.el
@@ -29,10 +29,16 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
;; Silence the compiler:
(declare-function font-latex-add-keywords
"font-latex"
(keywords class))
+(declare-function TeX-check-engine-add-engines
+ "tex-buf"
+ (&rest engines))
(defvar LaTeX-bidi-package-options
'("RTLdocument" "rldocument" "extrafootnotefeatures")
diff --git a/style/doc.el b/style/doc.el
index 20e1486..5c2b2e8 100644
--- a/style/doc.el
+++ b/style/doc.el
@@ -69,7 +69,7 @@
'("macrocode*" current-indentation) t)
(add-to-list 'LaTeX-indent-environment-list
'("macro" current-indentation) t)
- (add-hook 'LaTeX-after-insert-env-hooks 'LaTeX-doc-after-insert-macrocode
+ (add-hook 'LaTeX-after-insert-env-hook 'LaTeX-doc-after-insert-macrocode
nil t)
(LaTeX-add-environments
"theglossary"
- [elpa] externals/auctex a3510c7 51/62: ; Fix byte-compile warnings in styles, (continued)
- [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
- [elpa] externals/auctex c3b76ca 18/62: * tex-ispell.el: Enable lexical-binding., Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 237f409 26/62: ; Suppress warning about obsolete inactivate-input-method, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 7288b93 31/62: Merge branch 'my-fix' into master, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 5c28751 33/62: ; Fix some byte-compiler warnings,
Tassilo Horn <=
- [elpa] externals/auctex b8c2bef 34/62: ; Fix byte-compiler warnings in latex.el, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 3982971 37/62: Rename LaTeX-dialect to TeX-dialect., Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 54b40b3 40/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 45d9b8d 41/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex cbfa1db 43/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 3c129fb 49/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 59c40b0 30/62: Ensure the trailing slash for directory, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex feaddc3 25/62: Delete unused ispell code from 1994., Tassilo Horn, 2020/12/20
- [elpa] externals/auctex 858e6dc 35/62: ; Fix more byte-compiler warnings, Tassilo Horn, 2020/12/20
- [elpa] externals/auctex bacae01 45/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20