branch: externals/auctex
commit 6c91dba2f71b9d5aaa7fb4234c62679c4e357617
Author: Mosè Giordano <m...@gnu.org>
Commit: Mosè Giordano <m...@gnu.org>

    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