(Info-fontify-node): Check if already fontified or not
by next-single-property-change.
This commit is contained in:
parent
cac8ad63b4
commit
499878f86c
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue