Commit 6e86be0b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(normal-mode): If font lock is on, turn it off and on.

parent 23bb94bb
2005-08-20 Richard M. Stallman <>
* files.el (normal-mode): If font lock is on, turn it off and on.
* subr.el (replace-regexp-in-string): Doc fix.
* startup.el (command-line-1): Don't suppress startup screen
due to existing processes.
* progmodes/grep.el (grep): Bind compilation-disable-input to t.
* progmodes/compile.el (compilation-disable-input): Default to nil.
2005-08-20 Kevin Rodgers <> (tiny change)
* progmodes/compile.el (compilation-disable-input): New defcustom.
......@@ -1733,6 +1733,12 @@ in that case, this function acts as if `enable-local-variables' were t."
(report-errors "File local-variables error: %s"
;; Turn font lock off and on, to make sure it takes account of
;; whatever file local variables are relevant to it.
(when (and font-lock-mode (eq (car font-lock-keywords) t))
(setq font-lock-keywords (cadr font-lock-keywords))
(font-lock-mode 1))
(if (fboundp 'ucs-set-table-for-input) ; don't lose when building
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment