branch: externals/auctex commit 6f232c3b43641e9c483b07d71886b245414b2688 Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
; Fix byte-compile warnings in styles --- style/tabularx.el | 3 +++ style/tabulary.el | 3 +++ style/tarticle.el | 2 ++ style/tbook.el | 2 ++ style/tcolorboxlib-raster.el | 3 +++ style/tex-live.el | 5 +++++ style/textpos.el | 3 +++ style/theorem.el | 4 ++++ style/thm-restate.el | 1 + style/tikz.el | 3 +++ style/titleps.el | 3 +++ style/titlesec.el | 3 +++ style/titletoc.el | 3 +++ style/transparent.el | 2 ++ style/treport.el | 2 ++ 15 files changed, 42 insertions(+) diff --git a/style/tabularx.el b/style/tabularx.el index 0dfcc7c..274ad4f 100644 --- a/style/tabularx.el +++ b/style/tabularx.el @@ -30,6 +30,9 @@ ;;; Code: +(require 'tex) +(require 'latex) + (defvar LaTeX-tabularx-package-options '("infoshow" "debugshow") "Package options for the tabularx package.") diff --git a/style/tabulary.el b/style/tabulary.el index c3f749b..18c1f41 100644 --- a/style/tabulary.el +++ b/style/tabulary.el @@ -30,6 +30,9 @@ ;;; Code: +(require 'tex) +(require 'latex) + (defvar LaTeX-tabulary-package-options '("debugshow") "Package options for the tabulary package.") diff --git a/style/tarticle.el b/style/tarticle.el index b76a187..c4381d3 100644 --- a/style/tarticle.el +++ b/style/tarticle.el @@ -30,6 +30,8 @@ ;;; Code: +(require 'tex) + (TeX-load-style "jarticle") (defvar LaTeX-tarticle-class-options LaTeX-jarticle-class-options "Class options for the tarticle class.") diff --git a/style/tbook.el b/style/tbook.el index b84de7d..6b36056 100644 --- a/style/tbook.el +++ b/style/tbook.el @@ -30,6 +30,8 @@ ;;; Code: +(require 'tex) + (TeX-load-style "jbook") (defvar LaTeX-tbook-class-options LaTeX-jbook-class-options "Class options for the tbook class.") diff --git a/style/tcolorboxlib-raster.el b/style/tcolorboxlib-raster.el index 5b9ce57..91d4918 100644 --- a/style/tcolorboxlib-raster.el +++ b/style/tcolorboxlib-raster.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/tex-live.el b/style/tex-live.el index 9f1ca56..45ae12b 100644 --- a/style/tex-live.el +++ b/style/tex-live.el @@ -33,6 +33,11 @@ ;; fontification is not ideal. But this might be a starting point for ;; TeXLive documentation editors who use AUCTeX. +;;; Code: + +(require 'tex) +(require 'latex) + ;; Silence the compiler: (declare-function LaTeX-add-fancyvrb-environments "fancyvrb" diff --git a/style/textpos.el b/style/textpos.el index 5edff57..4a143bb 100644 --- a/style/textpos.el +++ b/style/textpos.el @@ -31,6 +31,9 @@ ;;; Code: +(require 'tex) +(require 'latex) + ;; Silence the compiler: (declare-function LaTeX-color-definecolor-list "color" ()) (declare-function LaTeX-xcolor-definecolor-list "xcolor" ()) diff --git a/style/theorem.el b/style/theorem.el index 85c1566..e476310 100644 --- a/style/theorem.el +++ b/style/theorem.el @@ -36,6 +36,10 @@ ;;; Code: +(require 'crm) +(require 'tex) +(require 'latex) + ;; Silence the compiler: (declare-function font-latex-add-keywords "font-latex" diff --git a/style/thm-restate.el b/style/thm-restate.el index d9fa851..8592556 100644 --- a/style/thm-restate.el +++ b/style/thm-restate.el @@ -34,6 +34,7 @@ ;; Needed for auto-parsing. (require 'tex) +(require 'latex) ;; Silence the parser: (declare-function LaTeX-thmtools-declaretheorem-list diff --git a/style/tikz.el b/style/tikz.el index 8e1d187..25a67b4 100644 --- a/style/tikz.el +++ b/style/tikz.el @@ -30,6 +30,9 @@ ;;; Code: +(require 'tex) +(require 'latex) + (defcustom TeX-TikZ-point-name-regexp "(\\([A-Za-z0-9]+\\))" "A regexp that matches TikZ names." diff --git a/style/titleps.el b/style/titleps.el index 7e3a886..eda601c 100644 --- a/style/titleps.el +++ b/style/titleps.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/titlesec.el b/style/titlesec.el index 3d0306c..bdec21c 100644 --- a/style/titlesec.el +++ b/style/titlesec.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/titletoc.el b/style/titletoc.el index 09b6de4..ea44dbb 100644 --- a/style/titletoc.el +++ b/style/titletoc.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/transparent.el b/style/transparent.el index 5699794..c25b0b2 100644 --- a/style/transparent.el +++ b/style/transparent.el @@ -31,6 +31,8 @@ ;;; Code: +(require 'tex) + ;; Silence the compiler: (declare-function font-latex-add-keywords "font-latex" diff --git a/style/treport.el b/style/treport.el index 38438f2..f6aaf13 100644 --- a/style/treport.el +++ b/style/treport.el @@ -30,6 +30,8 @@ ;;; Code: +(require 'tex) + (TeX-load-style "jreport") (defvar LaTeX-treport-class-options LaTeX-jreport-class-options "Class options for the treport class.")