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
111c181e
Commit
111c181e
authored
Jan 19, 2001
by
Gerd Moellmann
Browse files
(font-lock-default-fontify-region): Fix last
change.
parent
3b6936cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/font-lock.el
lisp/font-lock.el
+4
-4
No files found.
lisp/ChangeLog
View file @
111c181e
2001-01-19 Gerd Moellmann <gerd@gnu.org>
* font-lock.el (font-lock-default-fontify-region): Fix last
change.
* font-lock.el (font-lock-multiline): Default to nil.
(font-lock-default-fontify-region): If font-lock-multiline is
nil, don't check the property `font-lock-multiline'.
...
...
lisp/font-lock.el
View file @
111c181e
...
...
@@ -1212,10 +1212,10 @@ The value of this variable is used when Font Lock mode is turned on."
(
point-min
)))
(
goto-char
beg
)
(
setq
beg
(
line-beginning-position
)))
(
setq
end
(
or
(
and
font-lock-multiline
(
text-property-any
end
(
point-max
)
'font-lock-multiline
nil
)
)
(
point-max
)))
(
when
font-lock-multiline
(
setq
end
(
or
(
text-property-any
end
(
point-max
)
'font-lock-multiline
nil
)
(
point-max
)))
)
(
goto-char
end
)
(
setq
end
(
line-beginning-position
2
))
;; Now do the fontification.
...
...
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