branch: externals/auctex
commit 6610f4897f96c5a0b93833d8a04e8cda092e43a3
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>

    ; Silence the compiler in styles for `font-latex-add-to-syntax-alist'
    
    * style/german.el:
    * style/ngerman.el:
    * style/shortvrb.el: Silence the compiler in the style files for
    the function `font-latex-add-to-syntax-alist'.
---
 style/german.el   | 4 ++++
 style/ngerman.el  | 4 ++++
 style/shortvrb.el | 7 ++++++-
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/style/german.el b/style/german.el
index 46dd3cc..688e5bf 100644
--- a/style/german.el
+++ b/style/german.el
@@ -13,6 +13,10 @@
                  "font-latex"
                  (quotes))
 
+(declare-function font-latex-add-to-syntax-alist
+                 "font-latex"
+                 (list))
+
 (defvar LaTeX-german-mode-syntax-table
   (copy-syntax-table LaTeX-mode-syntax-table)
   "Syntax table used in LaTeX mode when using `german.sty'.")
diff --git a/style/ngerman.el b/style/ngerman.el
index 87ec089..814688a 100644
--- a/style/ngerman.el
+++ b/style/ngerman.el
@@ -13,6 +13,10 @@
                  "font-latex"
                  (quotes))
 
+(declare-function font-latex-add-to-syntax-alist
+                 "font-latex"
+                 (list))
+
 (defvar LaTeX-german-mode-syntax-table
   (copy-syntax-table LaTeX-mode-syntax-table)
   "Syntax table used in LaTeX mode when using `german.sty'.")
diff --git a/style/shortvrb.el b/style/shortvrb.el
index 49143f3..b0d8be4 100644
--- a/style/shortvrb.el
+++ b/style/shortvrb.el
@@ -1,6 +1,6 @@
 ;;; shortvrb.el --- AUCTeX style for `shortvrb.sty'
 
-;; Copyright (C) 2009, 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2009, 2014, 2018 Free Software Foundation, Inc.
 
 ;; Author: Ralf Angeli <[email protected]>
 ;; Maintainer: [email protected]
@@ -41,6 +41,11 @@
 
 ;;; Code:
 
+;; Silence the compiler:
+(declare-function font-latex-add-to-syntax-alist
+                 "font-latex"
+                 (list))
+
 (defcustom LaTeX-shortvrb-chars nil
   "List of characters toggling verbatim mode.
 When your document uses the shortvrb style and you have a

Reply via email to