[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 92de017 53/62: ; Fix byte-compile
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 92de017 53/62: ; Fix byte-compile warnings in styles |
Date: |
Sun, 20 Dec 2020 10:40:05 -0500 (EST) |
branch: externals/auctex
commit 92de01746b2841477d4fc01f98de5d2adcd1f095
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
; Fix byte-compile warnings in styles
---
style/ulem.el | 2 +
style/unicode-math.el | 3 +
style/units.el | 2 +
style/url.el | 3 +
style/varioref.el | 3 +
style/verbatim.el | 3 +
style/virtex.el | 153 +++++++++++++++++++++++++-------------------------
style/vwcol.el | 3 +
style/wrapfig.el | 3 +
style/xkcdcolors.el | 2 +
style/xltabular.el | 5 ++
style/xparse.el | 3 +
style/xspace.el | 2 +
style/zlmtt.el | 2 +
14 files changed, 114 insertions(+), 75 deletions(-)
diff --git a/style/ulem.el b/style/ulem.el
index 438571e..d9e5e41 100644
--- a/style/ulem.el
+++ b/style/ulem.el
@@ -28,6 +28,8 @@
;;; Code:
+(require 'tex)
+
;; Silence the compiler:
(declare-function font-latex-add-keywords
"font-latex"
diff --git a/style/unicode-math.el b/style/unicode-math.el
index a0b8a9f..b87363d 100644
--- a/style/unicode-math.el
+++ b/style/unicode-math.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/units.el b/style/units.el
index 76be79d..b20132a 100644
--- a/style/units.el
+++ b/style/units.el
@@ -29,6 +29,8 @@
;;; Code:
+(require 'tex)
+
;; Silence the compiler:
(declare-function font-latex-add-keywords
"font-latex"
diff --git a/style/url.el b/style/url.el
index 53708b8..418b772 100644
--- a/style/url.el
+++ b/style/url.el
@@ -30,6 +30,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
;; Silence the compiler:
(declare-function font-latex-add-keywords
"font-latex"
diff --git a/style/varioref.el b/style/varioref.el
index 300aac5..5ab7adb 100644
--- a/style/varioref.el
+++ b/style/varioref.el
@@ -30,6 +30,9 @@
;;; Code:
+(require 'tex)
+(require 'tex-style)
+
;; Silence the compiler:
(declare-function font-latex-add-keywords
"font-latex"
diff --git a/style/verbatim.el b/style/verbatim.el
index 6ae6f60..cd6a0b8 100644
--- a/style/verbatim.el
+++ b/style/verbatim.el
@@ -29,6 +29,9 @@
;;; Code
+(require 'tex)
+(require 'latex)
+
;; Silence the compiler:
(declare-function font-latex-set-syntactic-keywords
"font-latex")
diff --git a/style/virtex.el b/style/virtex.el
index ae423c0..c4571ad 100644
--- a/style/virtex.el
+++ b/style/virtex.el
@@ -4,80 +4,83 @@
;;; Code:
-(TeX-add-style-hook "virtex"
- (lambda ()
- (TeX-add-symbols "/" "above" "abovedisplayshortskip"
- "abovedisplayskip" "abovewithdelims" "accent"
- "adjdemerits" "advance" "afterassignment"
- "aftergroup" "atop" "atopwithdelims" "badness"
- "baselineskip" "batchmode" "begingroup"
- "belowdisplayshortskip" "belowdisplayskip"
- "binoppenalty" "botmark" "box" "boxmaxdepth"
- "brokenpenalty" "catcode" "char" "chardef"
- "cleaders" "closein" "closeout" "clubpenalty"
- "copy" "count" "countdef" "cr" "crcr" "csname"
- "day" "deadcycles" "def" "defaulthyphenchar"
- "defaultskewchar" "delcode" "delimiter"
- "delimiterfactor" "delimitershortfall" "dimen"
- "dimendef" "discretionary" "displayindent"
- "displaylimits" "displaystyle"
- "displaywidowpenalty" "displaywidth" "divide"
- "doublehyphendemerits" "dp" "dump" "edef" "else"
- "emergencystretch" "end" "endcsname" "endgroup"
- "endinput" "endlinechar" "eqno" "errhelp"
- "errmessage" "errorcontextlines" "errorstopmode"
- "escapechar" "everycr" "everydisplay"
- "everyhbox" "everyjob" "everymath" "everypar"
- "everyvbox" "exhyphenpenalty" "expandafter"
- "fam" "fi" "finalhyphendemerits" "firstmark"
- "floatingpenalty" "font" "fontdimen" "fontname"
- "futurelet" "gdef" "global" "globaldefs"
- "halign" "hangafter" "hangindent" "hbadness"
- "hbox" "hfil" "hfill" "hfilneg" "hfuzz"
- "hoffset" "holdinginserts" "hrule" "hsize"
- "hskip" "hss" "ht" "hyphenpenation" "hyphenchar"
- "hyphenpenalty" "if" "ifcase" "ifcat" "ifdim"
- "ifeof" "iffalse" "ifhbox" "ifinner" "ifhmode"
- "ifmmode" "ifnum" "ifodd" "iftrue" "ifvbox"
- "ifvoid" "ifx" "ignorespaces" "immediate"
- "indent" "input" "inputlineno" "insert"
- "insertpenalties" "interlinepenalty" "jobname"
- "kern" "language" "lastbox" "lastkern"
- "lastpenalty" "lastskip" "lccode" "leaders"
- "left" "lefthyphenmin" "leftskip" "leqno" "let"
- "limits" "linepenalty" "lineskip"
- "lineskiplimit" "long" "looseness" "lower"
- "lowercase" "mag" "markaccent" "mathbin"
- "mathchar" "mathchardef" "mathchoise"
- "mathclose" "mathcode" "mathinner" "mathhop"
- "mathopen" "mathord" "mathpunct" "mathrel"
- "mathsurround" "maxdeadcycles" "maxdepth"
- "meaning" "medmuskip" "message" "mkern" "month"
- "moveleft" "moveright" "mskip" "multiply"
- "muskip" "muskipdef" "newlinechar" "noalign"
- "noboundary" "noexpand" "noindent" "nolimits"
- "nonscript" "nonstopmode" "nulldelimiterspace"
- "nullfont" "number" "omit" "openin" "openout"
- "or" "outer" "output" "outputpenalty"
- "overfullrule" "parfillskip" "parindent"
- "parskip" "pausing" "postdisplaypenalty"
- "predisplaypenalty" "predisplaysize"
- "pretolerance" "relpenalty" "rightskip"
- "scriptspace" "showboxbreadth" "showboxdepth"
- "smallskipamount" "spaceskip" "splitmaxdepth"
- "splittopskip" "tabskip" "thickmuskip"
- "thinmuskip" "time" "tolerance" "topskip"
- "tracingcommands" "tracinglostchars"
- "tracingmacros" "tracingonline" "tracingoutput"
- "tracingpages" "tracingparagraphs"
- "tracingrestores" "tracingstats" "uccode"
- "uchyph" "underline" "unhbox" "unhcopy" "unkern"
- "unpenalty" "unskip" "unvbox" "unvcopy"
- "uppercase" "vadjust" "valign" "vbadness" "vbox"
- "vcenter" "vfil" "vfill" "vfilneg" "vfuzz"
- "voffset" "vrule" "vsize" "vskip" "vss" "vtop"
- "wd" "widowpenalty" "write" "xdef" "xleaders"
- "xspaceskip" "year"))
- TeX-dialect)
+(require 'tex)
+
+(TeX-add-style-hook
+ "virtex"
+ (lambda ()
+ (TeX-add-symbols "/" "above" "abovedisplayshortskip"
+ "abovedisplayskip" "abovewithdelims" "accent"
+ "adjdemerits" "advance" "afterassignment"
+ "aftergroup" "atop" "atopwithdelims" "badness"
+ "baselineskip" "batchmode" "begingroup"
+ "belowdisplayshortskip" "belowdisplayskip"
+ "binoppenalty" "botmark" "box" "boxmaxdepth"
+ "brokenpenalty" "catcode" "char" "chardef"
+ "cleaders" "closein" "closeout" "clubpenalty"
+ "copy" "count" "countdef" "cr" "crcr" "csname"
+ "day" "deadcycles" "def" "defaulthyphenchar"
+ "defaultskewchar" "delcode" "delimiter"
+ "delimiterfactor" "delimitershortfall" "dimen"
+ "dimendef" "discretionary" "displayindent"
+ "displaylimits" "displaystyle"
+ "displaywidowpenalty" "displaywidth" "divide"
+ "doublehyphendemerits" "dp" "dump" "edef" "else"
+ "emergencystretch" "end" "endcsname" "endgroup"
+ "endinput" "endlinechar" "eqno" "errhelp"
+ "errmessage" "errorcontextlines" "errorstopmode"
+ "escapechar" "everycr" "everydisplay"
+ "everyhbox" "everyjob" "everymath" "everypar"
+ "everyvbox" "exhyphenpenalty" "expandafter"
+ "fam" "fi" "finalhyphendemerits" "firstmark"
+ "floatingpenalty" "font" "fontdimen" "fontname"
+ "futurelet" "gdef" "global" "globaldefs"
+ "halign" "hangafter" "hangindent" "hbadness"
+ "hbox" "hfil" "hfill" "hfilneg" "hfuzz"
+ "hoffset" "holdinginserts" "hrule" "hsize"
+ "hskip" "hss" "ht" "hyphenpenation" "hyphenchar"
+ "hyphenpenalty" "if" "ifcase" "ifcat" "ifdim"
+ "ifeof" "iffalse" "ifhbox" "ifinner" "ifhmode"
+ "ifmmode" "ifnum" "ifodd" "iftrue" "ifvbox"
+ "ifvoid" "ifx" "ignorespaces" "immediate"
+ "indent" "input" "inputlineno" "insert"
+ "insertpenalties" "interlinepenalty" "jobname"
+ "kern" "language" "lastbox" "lastkern"
+ "lastpenalty" "lastskip" "lccode" "leaders"
+ "left" "lefthyphenmin" "leftskip" "leqno" "let"
+ "limits" "linepenalty" "lineskip"
+ "lineskiplimit" "long" "looseness" "lower"
+ "lowercase" "mag" "markaccent" "mathbin"
+ "mathchar" "mathchardef" "mathchoise"
+ "mathclose" "mathcode" "mathinner" "mathhop"
+ "mathopen" "mathord" "mathpunct" "mathrel"
+ "mathsurround" "maxdeadcycles" "maxdepth"
+ "meaning" "medmuskip" "message" "mkern" "month"
+ "moveleft" "moveright" "mskip" "multiply"
+ "muskip" "muskipdef" "newlinechar" "noalign"
+ "noboundary" "noexpand" "noindent" "nolimits"
+ "nonscript" "nonstopmode" "nulldelimiterspace"
+ "nullfont" "number" "omit" "openin" "openout"
+ "or" "outer" "output" "outputpenalty"
+ "overfullrule" "parfillskip" "parindent"
+ "parskip" "pausing" "postdisplaypenalty"
+ "predisplaypenalty" "predisplaysize"
+ "pretolerance" "relpenalty" "rightskip"
+ "scriptspace" "showboxbreadth" "showboxdepth"
+ "smallskipamount" "spaceskip" "splitmaxdepth"
+ "splittopskip" "tabskip" "thickmuskip"
+ "thinmuskip" "time" "tolerance" "topskip"
+ "tracingcommands" "tracinglostchars"
+ "tracingmacros" "tracingonline" "tracingoutput"
+ "tracingpages" "tracingparagraphs"
+ "tracingrestores" "tracingstats" "uccode"
+ "uchyph" "underline" "unhbox" "unhcopy" "unkern"
+ "unpenalty" "unskip" "unvbox" "unvcopy"
+ "uppercase" "vadjust" "valign" "vbadness" "vbox"
+ "vcenter" "vfil" "vfill" "vfilneg" "vfuzz"
+ "voffset" "vrule" "vsize" "vskip" "vss" "vtop"
+ "wd" "widowpenalty" "write" "xdef" "xleaders"
+ "xspaceskip" "year"))
+ TeX-dialect)
;;; virtex.el ends here
diff --git a/style/vwcol.el b/style/vwcol.el
index 057e8ba..0adb34e 100644
--- a/style/vwcol.el
+++ b/style/vwcol.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/wrapfig.el b/style/wrapfig.el
index 9c2d840..414ebf6 100644
--- a/style/wrapfig.el
+++ b/style/wrapfig.el
@@ -31,6 +31,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
(TeX-add-style-hook
"wrapfig"
(lambda ()
diff --git a/style/xkcdcolors.el b/style/xkcdcolors.el
index dc20b70..f5f2444 100644
--- a/style/xkcdcolors.el
+++ b/style/xkcdcolors.el
@@ -31,6 +31,8 @@
;;; Code:
+(require 'tex)
+
;; Silence the compiler:
(declare-function LaTeX-add-xcolor-definecolors
"xcolor"
diff --git a/style/xltabular.el b/style/xltabular.el
index 9a138c2..04ce22c 100644
--- a/style/xltabular.el
+++ b/style/xltabular.el
@@ -29,6 +29,11 @@
;; This file adds support for `xltabular.sty' (v0.05) from 2017/10/26.
;; `xltabular.sty' is part of TeXLive.
+;;; Code:
+
+(require 'tex)
+(require 'latex)
+
(defvar LaTeX-xltabular-skipping-regexp
(concat "[ \t]*" (regexp-opt '("[l]" "[r]" "[c]" "")) "[ \t]*{[^}]*}[ \t]*")
"Regexp matching between \\begin{xltabular} and column specification.
diff --git a/style/xparse.el b/style/xparse.el
index 369e683..11e0b0f 100644
--- a/style/xparse.el
+++ b/style/xparse.el
@@ -35,6 +35,9 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
;; Silence the compiler:
(declare-function font-latex-add-keywords
"font-latex"
diff --git a/style/xspace.el b/style/xspace.el
index 60b764f..643060c 100644
--- a/style/xspace.el
+++ b/style/xspace.el
@@ -30,6 +30,8 @@
;;; Code:
+(require 'tex)
+
;; Silence the compiler:
(declare-function font-latex-add-keywords
"font-latex"
diff --git a/style/zlmtt.el b/style/zlmtt.el
index 8756d89..2ee692c 100644
--- a/style/zlmtt.el
+++ b/style/zlmtt.el
@@ -31,6 +31,8 @@
;;; Code:
+(require 'tex)
+
;; Silence the compiler:
(declare-function font-latex-add-keywords
"font-latex"
- [AUCTeX-diffs] [elpa] externals/auctex 471748b 46/62: ; Fix byte-compiler warnings in styles, (continued)
- [AUCTeX-diffs] [elpa] externals/auctex 471748b 46/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex feaddc3 25/62: Delete unused ispell code from 1994., Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 3c129fb 49/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 3982971 37/62: Rename LaTeX-dialect to TeX-dialect., Tassilo Horn, 2020/12/20
- [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 <=
- [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, 2020/12/20
- [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