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

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

[elpa] externals/auctex 6c91dba 20/95: Fix number of arguments of local-


From: Tassilo Horn
Subject: [elpa] externals/auctex 6c91dba 20/95: Fix number of arguments of local-variable-p in XEmacs
Date: Sun, 16 Apr 2017 01:26:47 -0400 (EDT)

branch: externals/auctex
commit 6c91dba2f71b9d5aaa7fb4234c62679c4e357617
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Fix number of arguments of local-variable-p in XEmacs
    
    * font-latex.el (font-latex-after-hacking-local-variables): Second argument 
of
    `local-variable-p' is mandatory in XEmacs.
---
 font-latex.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/font-latex.el b/font-latex.el
index 8100ded..d9e422c 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -1429,11 +1429,14 @@ modified.  Such variables include
          ;; else.  So we trigger a refresh if any of those variables has a
          ;; non-nil local binding.
          (or (and LaTeX-verbatim-environments-local
-                  (local-variable-p LaTeX-verbatim-environments-local))
+                  (local-variable-p LaTeX-verbatim-environments-local
+                                    (current-buffer)))
              (and LaTeX-verbatim-macros-with-braces-local
-                  (local-variable-p LaTeX-verbatim-macros-with-braces-local))
+                  (local-variable-p LaTeX-verbatim-macros-with-braces-local
+                                    (current-buffer)))
              (and LaTeX-verbatim-macros-with-delims-local
-                  (local-variable-p LaTeX-verbatim-macros-with-delims-local))))
+                  (local-variable-p LaTeX-verbatim-macros-with-delims-local
+                                    (current-buffer)))))
     ;; Ok, we need to refresh fontification.
     (font-latex-update-font-lock t)))
 



reply via email to

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