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
13f0d185
Commit
13f0d185
authored
Jun 17, 2000
by
Stefan Monnier
Browse files
(font-lock-after-fontify-buffer)
(font-lock-after-unfontify-buffer): No need to call back to jit-lock.
parent
5a5987eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
lisp/ChangeLog
lisp/ChangeLog
+8
-0
lisp/font-lock.el
lisp/font-lock.el
+12
-4
No files found.
lisp/ChangeLog
View file @
13f0d185
2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
* font-lock.el (font-lock-after-fontify-buffer)
(font-lock-after-unfontify-buffer): No need to call back to jit-lock.
* jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
Use consistent make-local-variable style for font-lock-fontified.
(jit-lock-fontify-buffer):
Don't bother checking for font-lock-mode and jit-lock-mode.
* time.el: Remove trailing ^M that prevent CVS-merging.
2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
...
...
lisp/font-lock.el
View file @
13f0d185
...
...
@@ -1098,16 +1098,23 @@ The value of this variable is used when Font Lock mode is turned on."
(
defun
font-lock-after-fontify-buffer
()
(
cond
(
fast-lock-mode
(
fast-lock-after-fontify-buffer
))
(
jit-lock-mode
(
jit-lock-after-fontify-buffer
))
;; Useless now that jit-lock intercepts font-lock-fontify-buffer. -sm
;; (jit-lock-mode
;; (jit-lock-after-fontify-buffer))
(
lazy-lock-mode
(
lazy-lock-after-fontify-buffer
))))
(
defun
font-lock-after-unfontify-buffer
()
(
cond
(
fast-lock-mode
(
fast-lock-after-unfontify-buffer
))
(
jit-lock-mode
(
jit-lock-after-unfontify-buffer
))
;; Useless as well. It's only called when:
;; - turning off font-lock: it does not matter if we leave spurious
;; `fontified' text props around since jit-lock-mode is also off.
;; - font-lock-default-fontify-buffer fails: this is not run
;; any more anyway. -sm
;;
;; (jit-lock-mode
;; (jit-lock-after-unfontify-buffer))
(
lazy-lock-mode
(
lazy-lock-after-unfontify-buffer
))))
...
...
@@ -3163,6 +3170,7 @@ See also `java-font-lock-extra-types'.")
;; Install ourselves:
;; Useful for the popup-menu for mouse-3 on the modeline.
(
unless
(
assq
'font-lock-mode
minor-mode-alist
)
(
push
'
(
font-lock-mode
nil
)
minor-mode-alist
))
...
...
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