branch: externals/auctex commit 70dc03101a1c176a00ef0de86f19df8976b35eb5 Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
; Fix more byte-compiler warnings in styles --- style/appendix.el | 3 +++ style/arabxetex.el | 3 +++ style/array.el | 1 + style/article.el | 3 +++ style/attachfile.el | 2 ++ style/australian.el | 2 ++ style/austrian.el | 2 ++ 7 files changed, 16 insertions(+) diff --git a/style/appendix.el b/style/appendix.el index 0e6125e..1df68a6 100644 --- a/style/appendix.el +++ b/style/appendix.el @@ -31,6 +31,9 @@ ;;; Code: +(require 'tex) +(require 'latex) + (TeX-add-style-hook "appendix" (lambda () diff --git a/style/arabxetex.el b/style/arabxetex.el index d9ed09b..ed4cd03 100644 --- a/style/arabxetex.el +++ b/style/arabxetex.el @@ -31,6 +31,9 @@ ;;; Code: +(require 'tex) +(require 'latex) + ;; Silence the compiler: (declare-function font-latex-add-keywords "font-latex" diff --git a/style/array.el b/style/array.el index d911ab9..4b3f1d4 100644 --- a/style/array.el +++ b/style/array.el @@ -30,6 +30,7 @@ ;;; Code: (require 'tex) +(require 'latex) ;; Silence the compiler: (declare-function font-latex-add-keywords diff --git a/style/article.el b/style/article.el index 352f45d..aa4d764 100644 --- a/style/article.el +++ b/style/article.el @@ -2,6 +2,9 @@ ;;; Code: +(require 'tex) +(require 'latex) + (defvar LaTeX-article-class-options '("a4paper" "a5paper" "b5paper" "letterpaper" "legalpaper" "executivepaper" "landscape" "10pt" "11pt" "12pt" "oneside" "twoside" "draft" "final" diff --git a/style/attachfile.el b/style/attachfile.el index 0630da6..8f077be 100644 --- a/style/attachfile.el +++ b/style/attachfile.el @@ -31,6 +31,8 @@ ;;; Code: +(require 'tex) + ;; Silence the compiler: (declare-function font-latex-add-keywords "font-latex" diff --git a/style/australian.el b/style/australian.el index 8c76082..7d9d830 100644 --- a/style/australian.el +++ b/style/australian.el @@ -31,6 +31,8 @@ ;;; Code: +(require 'tex) + (TeX-add-style-hook "australian" (lambda () diff --git a/style/austrian.el b/style/austrian.el index 91af645..98305fd 100644 --- a/style/austrian.el +++ b/style/austrian.el @@ -31,6 +31,8 @@ ;;; Code: +(require 'tex) + (TeX-add-style-hook "austrian" (lambda ()