1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Make a variable buffer-local

* lisp/generic-x.el (generic-rul-mode-setup-function): Make
font-lock-syntax-table buffer-local.  (Bug #21627)
This commit is contained in:
Tom Tromey 2015-12-19 20:11:49 -07:00
parent 9b0f1824d7
commit 05989cb9f0

View 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