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
c02a1053
Commit
c02a1053
authored
Feb 26, 2001
by
Gerd Moellmann
Browse files
(lazy-lock-fontify-after-idle): Make sure to
fontify in the right buffer.
parent
da024910
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lisp/lazy-lock.el
lisp/lazy-lock.el
+4
-1
No files found.
lisp/lazy-lock.el
View file @
c02a1053
;;; lazy-lock.el --- Lazy demand-driven fontification for fast Font Lock mode.
;; Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 2001
;; Free Software Foundation, Inc.
;; Author: Simon Marshall <simon@gnu.org>
;; Maintainer: FSF
...
...
@@ -844,6 +845,8 @@ verbosity is controlled via the variable `lazy-lock-stealth-verbose'."
(
lazy-lock-percent-fontified
)
(
buffer-name
))
(
message
"Fontifying stealthily..."
)
(
setq
message
t
)))
;; Current buffer may have changed during `sit-for'.
(
set-buffer
(
car
buffers
))
(
lazy-lock-fontify-chunk
)
(
setq
continue
(
sit-for
(
or
lazy-lock-stealth-nice
0
)))))))
(
setq
buffers
(
cdr
buffers
)))))))
...
...
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