emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 7d87b2a 39/62: ; Fix more byte-compiler warnings


From: Tassilo Horn
Subject: [elpa] externals/auctex 7d87b2a 39/62: ; Fix more byte-compiler warnings in styles
Date: Sun, 20 Dec 2020 10:40:01 -0500 (EST)

branch: externals/auctex
commit 7d87b2a3ea11c61b825667295ebf04100353573b
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    ; Fix more byte-compiler warnings in styles
---
 style/babel.el         | 3 +++
 style/baskervaldx.el   | 2 ++
 style/beamer.el        | 3 +++
 style/beamerarticle.el | 2 ++
 style/beamerswitch.el  | 2 ++
 style/biblatex.el      | 3 +++
 style/bidibeamer.el    | 2 ++
 style/bigdelim.el      | 2 ++
 style/bigstrut.el      | 2 ++
 style/bm.el            | 2 ++
 style/book.el          | 3 +++
 style/booktabs.el      | 2 ++
 style/bulgarian.el     | 3 +++
 style/canadian.el      | 2 ++
 style/captcont.el      | 2 ++
 style/changelog.el     | 3 +++
 style/cleveref.el      | 3 +++
 style/colortbl.el      | 3 +++
 style/commath.el       | 2 ++
 style/comment.el       | 3 +++
 style/csquotes.el      | 3 +++
 style/currvita.el      | 5 ++++-
 style/czech.el         | 2 ++
 23 files changed, 58 insertions(+), 1 deletion(-)

diff --git a/style/babel.el b/style/babel.el
index 7116503..83d2fa4 100644
--- a/style/babel.el
+++ b/style/babel.el
@@ -30,6 +30,9 @@
 
 ;;; Code:
 
+(require 'tex)
+(require 'latex)
+
 (eval-when-compile
   (require 'cl-lib))
 
diff --git a/style/baskervaldx.el b/style/baskervaldx.el
index 996d3e4..ed347d9 100644
--- a/style/baskervaldx.el
+++ b/style/baskervaldx.el
@@ -31,6 +31,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
                  "font-latex"
diff --git a/style/beamer.el b/style/beamer.el
index 9be234b..d84d275 100644
--- a/style/beamer.el
+++ b/style/beamer.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/beamerarticle.el b/style/beamerarticle.el
index 0fba136..136947a 100644
--- a/style/beamerarticle.el
+++ b/style/beamerarticle.el
@@ -27,6 +27,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 (TeX-add-style-hook
  "beamerarticle"
  (lambda ()
diff --git a/style/beamerswitch.el b/style/beamerswitch.el
index a66eaa7..d565523 100644
--- a/style/beamerswitch.el
+++ b/style/beamerswitch.el
@@ -27,6 +27,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 (TeX-add-style-hook
  "beamerswitch"
  (lambda ()
diff --git a/style/biblatex.el b/style/biblatex.el
index e1530ac..e1e803d 100644
--- a/style/biblatex.el
+++ b/style/biblatex.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/bidibeamer.el b/style/bidibeamer.el
index 0eba90b..f6d2e3a 100644
--- a/style/bidibeamer.el
+++ b/style/bidibeamer.el
@@ -31,6 +31,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 (TeX-add-style-hook
  "bidibeamer"
  (lambda ()
diff --git a/style/bigdelim.el b/style/bigdelim.el
index ae1bfc1..30938d3 100644
--- a/style/bigdelim.el
+++ b/style/bigdelim.el
@@ -30,6 +30,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 (TeX-add-style-hook
  "bigdelim"
  (lambda ()
diff --git a/style/bigstrut.el b/style/bigstrut.el
index 4ad0927..71ea835 100644
--- a/style/bigstrut.el
+++ b/style/bigstrut.el
@@ -29,6 +29,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 (TeX-add-style-hook
  "bigstrut"
  (lambda ()
diff --git a/style/bm.el b/style/bm.el
index 1971820..5ded3ac 100644
--- a/style/bm.el
+++ b/style/bm.el
@@ -29,6 +29,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
                  "font-latex"
diff --git a/style/book.el b/style/book.el
index 766a782..cdc754a 100644
--- a/style/book.el
+++ b/style/book.el
@@ -2,6 +2,9 @@
 
 ;;; Code:
 
+(require 'tex)
+(require 'latex)
+
 (defvar LaTeX-book-class-options
   '("a4paper" "a5paper" "b5paper" "letterpaper" "legalpaper" "executivepaper"
     "landscape" "10pt" "11pt" "12pt" "oneside" "twoside" "draft" "final"
diff --git a/style/booktabs.el b/style/booktabs.el
index 255a851..7abecc1 100644
--- a/style/booktabs.el
+++ b/style/booktabs.el
@@ -30,6 +30,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
                  "font-latex"
diff --git a/style/bulgarian.el b/style/bulgarian.el
index 67a3620..c7437db 100644
--- a/style/bulgarian.el
+++ b/style/bulgarian.el
@@ -31,6 +31,9 @@
 
 ;;; Code:
 
+(require 'tex)
+(require 'latex)
+
 ;; Silence the compiler:
 (declare-function font-latex-add-quotes
                  "font-latex"
diff --git a/style/canadian.el b/style/canadian.el
index 24e8b4a..9066fc2 100644
--- a/style/canadian.el
+++ b/style/canadian.el
@@ -31,6 +31,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 (TeX-add-style-hook
  "canadian"
  (lambda ()
diff --git a/style/captcont.el b/style/captcont.el
index 2e6c2e1..d68babd 100644
--- a/style/captcont.el
+++ b/style/captcont.el
@@ -29,6 +29,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
                  "font-latex"
diff --git a/style/changelog.el b/style/changelog.el
index 38e87c9..efd1afe 100644
--- a/style/changelog.el
+++ b/style/changelog.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/cleveref.el b/style/cleveref.el
index c11c582..6545f17 100644
--- a/style/cleveref.el
+++ b/style/cleveref.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/colortbl.el b/style/colortbl.el
index 7574f25..e4ba824 100644
--- a/style/colortbl.el
+++ b/style/colortbl.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/commath.el b/style/commath.el
index d2a866c..dda6528 100644
--- a/style/commath.el
+++ b/style/commath.el
@@ -31,6 +31,8 @@
 
 ;;; Code:
 
+(require 'tex)
+
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
                  "font-latex"
diff --git a/style/comment.el b/style/comment.el
index b36dc71..996ca9a 100644
--- a/style/comment.el
+++ b/style/comment.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/csquotes.el b/style/csquotes.el
index 8a57b21..9dae9b1 100644
--- a/style/csquotes.el
+++ b/style/csquotes.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/currvita.el b/style/currvita.el
index f2de203..7b693d9 100644
--- a/style/currvita.el
+++ b/style/currvita.el
@@ -31,13 +31,16 @@
 
 ;;; Code:
 
+(require 'tex)
+(require 'latex)
+
 ;; This is a modified version of `LaTeX-env-item'.
 (defun LaTeX-currvita-env-with-label (env)
   "Insert ENV, a mandatory label and the first item."
   (LaTeX-insert-environment
    env
    (let ((heading (TeX-read-string "Heading of list: ")))
-       (format "{%s}" heading)))
+     (format "{%s}" heading)))
   (if (TeX-active-mark)
       (progn
        (LaTeX-find-matching-begin)
diff --git a/style/czech.el b/style/czech.el
index c9521f5..d000fe6 100644
--- a/style/czech.el
+++ b/style/czech.el
@@ -1,5 +1,7 @@
 ;;; czech.el --- Setup AUCTeX for editing Czech text.  -*- lexical-binding: t; 
-*-
 
+(require 'tex)
+
 (TeX-add-style-hook
  "czech"
  (lambda ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]