diff options
author | Tom Tromey <tom@tromey.com> | 2015-12-19 20:11:49 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2015-12-22 09:58:54 -0700 |
commit | 05989cb9f0dbdf5fddd0dc24ec377b2d9a082743 (patch) | |
tree | 4abcc3f4e649db083762ab8e9379e117a190ca7f /lisp/generic-x.el | |
parent | 9b0f1824d766139d3469c6837fb0b9db411a15b6 (diff) | |
download | emacs-05989cb9f0dbdf5fddd0dc24ec377b2d9a082743.tar.gz |
Make a variable buffer-local
* lisp/generic-x.el (generic-rul-mode-setup-function): Make
font-lock-syntax-table buffer-local. (Bug #21627)
Diffstat (limited to 'lisp/generic-x.el')
-rw-r--r-- | lisp/generic-x.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/generic-x.el b/lisp/generic-x.el index 38160fcc746..e5b4455d1f6 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el @@ -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 |