diff options
author | Luc Teirlinck <teirllm@auburn.edu> | 2005-06-05 03:37:59 +0000 |
---|---|---|
committer | Luc Teirlinck <teirllm@auburn.edu> | 2005-06-05 03:37:59 +0000 |
commit | 122450096158517f3686d4f33e497b48fa2e88cf (patch) | |
tree | a2d5aac1b2a35e457805c5934706a88991eef14c /lisp/font-lock.el | |
parent | bfe5418b470c16c386a95d2f91a1608d85600a13 (diff) | |
download | emacs-122450096158517f3686d4f33e497b48fa2e88cf.tar.gz |
(font-lock-set-defaults): Fix omission in last change.
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r-- | lisp/font-lock.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 691f617cfb0..1e4e0d188ad 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -1595,6 +1595,7 @@ Sets various variables using `font-lock-defaults' (or, if nil, using ;; Set fontification defaults iff not previously set for correct major mode. (unless (and font-lock-set-defaults (eq font-lock-mode-major-mode major-mode)) + (setq font-lock-mode-major-mode major-mode) (set (make-local-variable 'font-lock-set-defaults) t) (make-local-variable 'font-lock-fontified) (make-local-variable 'font-lock-multiline) |