]> git.eshelyaron.com Git - emacs.git/commitdiff
Make a variable buffer-local
authorTom Tromey <tom@tromey.com>
Sun, 20 Dec 2015 03:11:49 +0000 (20:11 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 22 Dec 2015 16:58:54 +0000 (09:58 -0700)
* lisp/generic-x.el (generic-rul-mode-setup-function): Make
font-lock-syntax-table buffer-local.  (Bug #21627)

lisp/generic-x.el

index 38160fcc746036bb1f5e93a3a0e81b480192cdd0..e5b4455d1f6372c8eee2947dd0c9b6fb7c9508c0 100644 (file)
@@ -1315,7 +1315,7 @@ like an INI file.  You can add this hook to `find-file-hook'."
 ;;;    comment-start-skip           ""
        )
   ;; (set-syntax-table rul-generic-mode-syntax-table)
-  (setq font-lock-syntax-table rul-generic-mode-syntax-table))
+  (setq-local font-lock-syntax-table rul-generic-mode-syntax-table))
 
 ;; moved mode-definition behind defun-definition to be warning-free - 15.11.02/RSan
 (define-generic-mode rul-generic-mode