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

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

[elpa] externals/auctex b5b29a8 55/62: ; Remove duplicate require's of t


From: Tassilo Horn
Subject: [elpa] externals/auctex b5b29a8 55/62: ; Remove duplicate require's of tex.el
Date: Sun, 20 Dec 2020 10:40:06 -0500 (EST)

branch: externals/auctex
commit b5b29a843409b40186ae2d26dcf17a06ac21aed7
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    ; Remove duplicate require's of tex.el
    
    * style/amsthm.el:
    * style/babel.el:
    * style/empheq.el:
    * style/enumitem.el:
    * style/mdframed.el:
    * style/ntheorem.el:
    * style/pythontex.el
    * style/theorem.el:
    * style/titletoc.el:
    * style/xparse.el: Require tex.el only once.
---
 style/amsthm.el    | 3 ---
 style/babel.el     | 3 ---
 style/empheq.el    | 3 ---
 style/enumitem.el  | 3 ---
 style/mdframed.el  | 3 ---
 style/ntheorem.el  | 3 ---
 style/pythontex.el | 3 ---
 style/theorem.el   | 3 ---
 style/titletoc.el  | 3 ---
 style/xparse.el    | 3 ---
 10 files changed, 30 deletions(-)

diff --git a/style/amsthm.el b/style/amsthm.el
index 45bc041..a71feda 100644
--- a/style/amsthm.el
+++ b/style/amsthm.el
@@ -96,9 +96,6 @@ RefTeX users should customize or add ENVIRONMENT to
     (LaTeX-newline)
     (indent-according-to-mode)))
 
-;; Needed for auto-parsing
-(require 'tex)
-
 ;; Setup parsing for \newtheorem
 (TeX-auto-add-type "amsthm-newtheorem" "LaTeX")
 
diff --git a/style/babel.el b/style/babel.el
index 83d2fa4..43f19ab 100644
--- a/style/babel.el
+++ b/style/babel.el
@@ -36,9 +36,6 @@
 (eval-when-compile
   (require 'cl-lib))
 
-;; Needed for auto-parsing.
-(require 'tex)
-
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
                  "font-latex"
diff --git a/style/empheq.el b/style/empheq.el
index 67cc6d9..7ca13b0 100644
--- a/style/empheq.el
+++ b/style/empheq.el
@@ -36,9 +36,6 @@
 (eval-when-compile
   (require 'cl-lib))
 
-;; Needed for auto-parsing:
-(require 'tex)
-
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
                  "font-latex"
diff --git a/style/enumitem.el b/style/enumitem.el
index 515fbe6..bdc6c5c 100644
--- a/style/enumitem.el
+++ b/style/enumitem.el
@@ -43,9 +43,6 @@
 (eval-when-compile
   (require 'cl-lib))
 
-;; Needed for auto-parsing:
-(require 'tex)
-
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
                  "font-latex"
diff --git a/style/mdframed.el b/style/mdframed.el
index 8dfb9a5..e4483e2 100644
--- a/style/mdframed.el
+++ b/style/mdframed.el
@@ -43,9 +43,6 @@
 (eval-when-compile
   (require 'cl-lib))
 
-;; Needed for auto-parsing:
-(require 'tex)
-
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
                  "font-latex"
diff --git a/style/ntheorem.el b/style/ntheorem.el
index 2df3a1a..8a125d8 100644
--- a/style/ntheorem.el
+++ b/style/ntheorem.el
@@ -119,9 +119,6 @@ RefTeX users should customize or add ENVIRONMENT to
     (LaTeX-newline)
     (indent-according-to-mode)))
 
-;; Needed for auto-parsing
-(require 'tex)
-
 ;; Setup parsing for \newtheorem
 (TeX-auto-add-type "ntheorem-newtheorem" "LaTeX")
 
diff --git a/style/pythontex.el b/style/pythontex.el
index 18ba765..b6aa70d 100644
--- a/style/pythontex.el
+++ b/style/pythontex.el
@@ -54,9 +54,6 @@
 (declare-function LaTeX-newfloat-auto-cleanup
                  "newfloat" ())
 
-;; Needed for auto-parsing:
-(require 'tex)
-
 (defvar LaTeX-pythontex-pygmentize-program (executable-find "pygmentize")
   "Path to pygmentize executable.")
 
diff --git a/style/theorem.el b/style/theorem.el
index e476310..204f909 100644
--- a/style/theorem.el
+++ b/style/theorem.el
@@ -103,9 +103,6 @@ RefTeX users should customize or add ENVIRONMENT to
     (LaTeX-newline)
     (indent-according-to-mode)))
 
-;; Needed for auto-parsing
-(require 'tex)
-
 ;; Setup parsing for \newtheorem
 (TeX-auto-add-type "theorem-newtheorem" "LaTeX")
 
diff --git a/style/titletoc.el b/style/titletoc.el
index ea44dbb..005875c 100644
--- a/style/titletoc.el
+++ b/style/titletoc.el
@@ -62,9 +62,6 @@ Removal is based on the return value of function
       (symbol-value 'LaTeX-titletoc-section-command-list)
     (remove "chapter" LaTeX-titletoc-section-command-list)))
 
-;; Needed for auto-parsing.
-(require 'tex)
-
 ;; Setup for \contentsuse:
 (TeX-auto-add-type "titletoc-contentsuse" "LaTeX")
 
diff --git a/style/xparse.el b/style/xparse.el
index 11e0b0f..1e54c6c 100644
--- a/style/xparse.el
+++ b/style/xparse.el
@@ -43,9 +43,6 @@
                  "font-latex"
                  (keywords class))
 
-;; Needed for auto-parsing.
-(require 'tex)
-
 (TeX-auto-add-type "xparse-macro" "LaTeX")
 
 (defvar LaTeX-xparse-macro-regexp



reply via email to

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