Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6e86be0b
Commit
6e86be0b
authored
Aug 20, 2005
by
Richard M. Stallman
Browse files
(normal-mode): If font lock is on, turn it off and on.
parent
23bb94bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
lisp/ChangeLog
lisp/ChangeLog
+13
-0
lisp/files.el
lisp/files.el
+6
-0
No files found.
lisp/ChangeLog
View file @
6e86be0b
2005-08-20 Richard M. Stallman <rms@gnu.org>
* 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 <ihs_4664@yahoo.com> (tiny change)
* progmodes/compile.el (compilation-disable-input): New defcustom.
...
...
lisp/files.el
View file @
6e86be0b
...
...
@@ -1733,6 +1733,12 @@ in that case, this function acts as if `enable-local-variables' were t."
(
set-auto-mode
))
(
report-errors
"File local-variables error: %s"
(
hack-local-variables
)))
;; 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
(
ucs-set-table-for-input
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment