mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-04 11:40:22 +00:00
(Info-fontify-node): Check if already fontified or not
by next-single-property-change.
This commit is contained in:
parent
cac8ad63b4
commit
499878f86c
@ -3675,7 +3675,8 @@ the variable `Info-file-list-for-emacs'."
|
||||
(case-fold-search t)
|
||||
paragraph-markers
|
||||
(not-fontified-p ; the node hasn't already been fontified
|
||||
(not (let ((where (next-property-change (point-min))))
|
||||
(not (let ((where (next-single-property-change (point-min)
|
||||
'font-lock-face)))
|
||||
(and where (not (= where (point-max)))))))
|
||||
(fontify-visited-p ; visited nodes need to be re-fontified
|
||||
(and Info-fontify-visited-nodes
|
||||
|
Loading…
Reference in New Issue
Block a user