branch: externals/auctex
commit 9d8369ac93500bbcf7e269b2fd86d941418a6bc0
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
; Silence the compiler in styles for `font-latex-update-font-lock'
* style/alltt.el:
* style/beamer.el:
* style/comment.el:
* style/expl3.el:
* style/fancyhdr.el:
* style/fancyvrb.el:
* style/listings.el:
* style/minted.el:
* style/url.el: Silence the compiler in the style files for the
function `font-latex-update-font-lock'.
---
style/alltt.el | 7 ++++++-
style/beamer.el | 4 ++++
style/comment.el | 4 ++++
style/expl3.el | 7 ++++++-
style/fancyhdr.el | 4 ++++
style/fancyvrb.el | 4 ++++
style/listings.el | 4 ++++
style/minted.el | 4 ++++
style/url.el | 4 ++++
9 files changed, 40 insertions(+), 2 deletions(-)
diff --git a/style/alltt.el b/style/alltt.el
index ed64ac4..8ca0acc 100644
--- a/style/alltt.el
+++ b/style/alltt.el
@@ -1,6 +1,6 @@
;;; alltt.el --- AUCTeX style for `alltt.sty'
-;; Copyright (C) 2004, 2005, 2014, 2016 Free Software Foundation, Inc.
+;; Copyright (C) 2004, 2005, 2014, 2016, 2018 Free Software Foundation, Inc.
;; Author: Ralf Angeli <[email protected]>
;; Maintainer: [email protected]
@@ -30,6 +30,11 @@
;;; Code:
+;; Silence the compiler:
+(declare-function font-latex-update-font-lock
+ "font-latex"
+ (&optional syntactic-kws))
+
(TeX-add-style-hook
"alltt"
(lambda ()
diff --git a/style/beamer.el b/style/beamer.el
index e695089..fb69fc4 100644
--- a/style/beamer.el
+++ b/style/beamer.el
@@ -34,6 +34,10 @@
"font-latex"
(keywords class))
+(declare-function font-latex-update-font-lock
+ "font-latex"
+ (&optional syntactic-kws))
+
(defun LaTeX-beamer-after-insert-env (env start _end)
"Do beamer-specific stuff after the insertion of an environment."
;; Add `fragile' as an optional argument to the frame environment if
diff --git a/style/comment.el b/style/comment.el
index 9a7834f..fd6d6c5 100644
--- a/style/comment.el
+++ b/style/comment.el
@@ -35,6 +35,10 @@
"font-latex"
(keywords class))
+(declare-function font-latex-update-font-lock
+ "font-latex"
+ (&optional syntactic-kws))
+
(TeX-add-style-hook
"comment"
(lambda ()
diff --git a/style/expl3.el b/style/expl3.el
index 78361d7..c1bb029 100644
--- a/style/expl3.el
+++ b/style/expl3.el
@@ -1,6 +1,6 @@
;;; expl3.el --- AUCTeX style for `expl3.sty'
-;; Copyright (C) 2015, 2017 Free Software Foundation, Inc.
+;; Copyright (C) 2015, 2017, 2018 Free Software Foundation, Inc.
;; Author: Tassilo Horn <[email protected]>
;; Maintainer: [email protected]
@@ -30,6 +30,11 @@
;;; Code:
+;; Silence the compiler:
+(declare-function font-latex-update-font-lock
+ "font-latex"
+ (&optional syntactic-kws))
+
(defvar LaTeX-expl3-syntax-table
(let ((st (copy-syntax-table LaTeX-mode-syntax-table)))
;; Make _ and : symbol chars
diff --git a/style/fancyhdr.el b/style/fancyhdr.el
index 34657e3..3e81e3a 100644
--- a/style/fancyhdr.el
+++ b/style/fancyhdr.el
@@ -34,6 +34,10 @@
"font-latex"
(keywords class))
+(declare-function font-latex-update-font-lock
+ "font-latex"
+ (&optional syntactic-kws))
+
(TeX-add-style-hook
"fancyhdr"
(lambda ()
diff --git a/style/fancyvrb.el b/style/fancyvrb.el
index db18e86..32adcd4 100644
--- a/style/fancyvrb.el
+++ b/style/fancyvrb.el
@@ -51,6 +51,10 @@
"font-latex"
(keywords class))
+(declare-function font-latex-update-font-lock
+ "font-latex"
+ (&optional syntactic-kws))
+
(defvar LaTeX-fancyvrb-key-val-options
`(("commentchar" ("none"))
("gobble")
diff --git a/style/listings.el b/style/listings.el
index 28aa8b6..c488c51 100644
--- a/style/listings.el
+++ b/style/listings.el
@@ -51,6 +51,10 @@
"font-latex"
(keywords class))
+(declare-function font-latex-update-font-lock
+ "font-latex"
+ (&optional syntactic-kws))
+
;; The following are options taken from chapter 4 of the listings
;; manual (2007/02/22 Version 1.4).
(defvar LaTeX-listings-key-val-options
diff --git a/style/minted.el b/style/minted.el
index 971921c..cdeea29 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -37,6 +37,10 @@
"font-latex"
(keywords class))
+(declare-function font-latex-update-font-lock
+ "font-latex"
+ (&optional syntactic-kws))
+
(defvar LaTeX-minted-key-val-options
'(("autogobble" ("true" "false"))
("baselinestretch" ("auto"))
diff --git a/style/url.el b/style/url.el
index e566624..24d9441 100644
--- a/style/url.el
+++ b/style/url.el
@@ -35,6 +35,10 @@
"font-latex"
(keywords class))
+(declare-function font-latex-update-font-lock
+ "font-latex"
+ (&optional syntactic-kws))
+
(TeX-add-style-hook
"url"
(lambda ()