aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-06-05 03:37:59 +0000
committerLuc Teirlinck2005-06-05 03:37:59 +0000
commit122450096158517f3686d4f33e497b48fa2e88cf (patch)
treea2d5aac1b2a35e457805c5934706a88991eef14c
parentbfe5418b470c16c386a95d2f91a1608d85600a13 (diff)
downloademacs-122450096158517f3686d4f33e497b48fa2e88cf.tar.gz
emacs-122450096158517f3686d4f33e497b48fa2e88cf.zip
(font-lock-set-defaults): Fix omission in last change.
-rw-r--r--lisp/font-lock.el1
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
1595 ;; Set fontification defaults iff not previously set for correct major mode. 1595 ;; Set fontification defaults iff not previously set for correct major mode.
1596 (unless (and font-lock-set-defaults 1596 (unless (and font-lock-set-defaults
1597 (eq font-lock-mode-major-mode major-mode)) 1597 (eq font-lock-mode-major-mode major-mode))
1598 (setq font-lock-mode-major-mode major-mode)
1598 (set (make-local-variable 'font-lock-set-defaults) t) 1599 (set (make-local-variable 'font-lock-set-defaults) t)
1599 (make-local-variable 'font-lock-fontified) 1600 (make-local-variable 'font-lock-fontified)
1600 (make-local-variable 'font-lock-multiline) 1601 (make-local-variable 'font-lock-multiline)