branch: externals/auctex
commit 49c71f96335b6d6625328e5f52cdb09e5db6eb6d
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
; Silence the compiler in styles for `LaTeX-x?color-definecolor-list'
* style/breqn.el:
* style/fontspec.el:
* style/fvextra.el:
* style/mdframed.el:
* style/menukeys.el:
* style/minted.el:
* style/ntheorem.el:
* style/tcolorbox.el:
* style/textpos.el: Silence the compiler in the style files for
the functions `LaTeX-color-definecolor-list' and
`LaTeX-xcolor-definecolor-list'.
---
style/breqn.el | 4 ++++
style/fontspec.el | 3 +++
style/fvextra.el | 3 +++
style/mdframed.el | 3 +++
style/menukeys.el | 2 ++
style/minted.el | 3 +++
style/ntheorem.el | 8 ++++++++
style/tcolorbox.el | 2 ++
style/textpos.el | 4 ++++
9 files changed, 32 insertions(+)
diff --git a/style/breqn.el b/style/breqn.el
index 03fee3b..63821f2 100644
--- a/style/breqn.el
+++ b/style/breqn.el
@@ -48,6 +48,10 @@
;;; Code:
+;; Silence the compiler:
+(declare-function LaTeX-color-definecolor-list "color" ())
+(declare-function LaTeX-xcolor-definecolor-list "xcolor" ())
+
(defvar LaTeX-breqn-key-val-options
'(("style" ("\\tiny" "\\scriptsize" "\\footnotesize" "\\small"
"\\normalsize" "\\large" "\\Large" "\\LARGE"
diff --git a/style/fontspec.el b/style/fontspec.el
index 234e9b8..03e5178 100644
--- a/style/fontspec.el
+++ b/style/fontspec.el
@@ -39,6 +39,9 @@
"font-latex"
(keywords class))
+(declare-function LaTeX-color-definecolor-list "color" ())
+(declare-function LaTeX-xcolor-definecolor-list "xcolor" ())
+
(defvar LaTeX-fontspec-font-features
'(;; 5 Font selection
("Extension" (".otf" ".ttf" ".ttc" ".dfont"))
diff --git a/style/fvextra.el b/style/fvextra.el
index 7f49d6c..0bdcbbc 100644
--- a/style/fvextra.el
+++ b/style/fvextra.el
@@ -35,6 +35,9 @@
(eval-when-compile
(require 'cl-lib))
+(declare-function LaTeX-color-definecolor-list "color" ())
+(declare-function LaTeX-xcolor-definecolor-list "xcolor" ())
+
(defvar LaTeX-fvextra-key-val-options
'(;; 3 General options
("curlyquotes" ("true" "false"))
diff --git a/style/mdframed.el b/style/mdframed.el
index bdbfb14..ec5e73a 100644
--- a/style/mdframed.el
+++ b/style/mdframed.el
@@ -49,6 +49,9 @@
"font-latex"
(keywords class))
+(declare-function LaTeX-color-definecolor-list "color" ())
+(declare-function LaTeX-xcolor-definecolor-list "xcolor" ())
+
(defvar LaTeX-mdframed-key-val-options
'(;; 6.2. Restoring the settings
("style" ("defaultoptions"))
diff --git a/style/menukeys.el b/style/menukeys.el
index c696c32..8134b7c 100644
--- a/style/menukeys.el
+++ b/style/menukeys.el
@@ -39,6 +39,8 @@
"font-latex"
(keywords class))
+(declare-function LaTeX-xcolor-definecolor-list "xcolor" ())
+
(defvar LaTeX-menukeys-input-separators-list
'("/" "=" "*" "+" "," ";" ":" "-" ">" "<" "bslash")
"List of input separators for macros of menukeys package.")
diff --git a/style/minted.el b/style/minted.el
index e06c74a..6cb2f65 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -41,6 +41,9 @@
"font-latex"
(&optional syntactic-kws))
+(declare-function LaTeX-color-definecolor-list "color" ())
+(declare-function LaTeX-xcolor-definecolor-list "xcolor" ())
+
(defvar font-latex-syntactic-keywords-extra)
(defvar LaTeX-minted-key-val-options
diff --git a/style/ntheorem.el b/style/ntheorem.el
index 0edd4cf..19e0dbf 100644
--- a/style/ntheorem.el
+++ b/style/ntheorem.el
@@ -41,6 +41,14 @@
"font-latex"
(keywords class))
+(declare-function LaTeX-color-definecolor-list
+ "color"
+ ())
+
+(declare-function LaTeX-xcolor-definecolor-list
+ "xcolor"
+ ())
+
(defvar LaTeX-ntheorem-theoremstyle-list
'(("plain") ("break") ("change") ("changebreak") ("margin")
("marginbreak") ("nonumberplain") ("nonumberbreak") ("empty"))
diff --git a/style/tcolorbox.el b/style/tcolorbox.el
index 16f6a12..d8e9ffb 100644
--- a/style/tcolorbox.el
+++ b/style/tcolorbox.el
@@ -52,6 +52,8 @@
"font-latex"
(keywords class))
+(declare-function LaTeX-xcolor-definecolor-list "xcolor" ())
+
;; FIXME: Anything missing?
(defvar LaTeX-tcolorbox-keyval-options
'(;; 4.1 Title
diff --git a/style/textpos.el b/style/textpos.el
index 437ca5a..86f9728 100644
--- a/style/textpos.el
+++ b/style/textpos.el
@@ -31,6 +31,10 @@
;;; Code:
+;; Silence the compiler:
+(declare-function LaTeX-color-definecolor-list "color" ())
+(declare-function LaTeX-xcolor-definecolor-list "xcolor" ())
+
(defun LaTeX-env-arg-textpos-textblock (env)
"Query for the arguments of `textblock' environment and insert
them."