(font-lock-set-defaults): Fix omission in last change.
This commit is contained in:
parent
bfe5418b47
commit
1224500961
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue