aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2006-03-14 12:14:57 +0000
committerKenichi Handa2006-03-14 12:14:57 +0000
commit499878f86ccbf71e3877810103e861d49d69e384 (patch)
tree79b69122a0a7e69cf8d7b1816354769e4d461f82
parentcac8ad63b4e7dc9da61b09a84dc55b6fc4ee18ff (diff)
downloademacs-499878f86ccbf71e3877810103e861d49d69e384.tar.gz
emacs-499878f86ccbf71e3877810103e861d49d69e384.zip
(Info-fontify-node): Check if already fontified or not
by next-single-property-change.
-rw-r--r--lisp/info.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index a4cae949977..1f0d67d31c6 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -3675,7 +3675,8 @@ the variable `Info-file-list-for-emacs'."
3675 (case-fold-search t) 3675 (case-fold-search t)
3676 paragraph-markers 3676 paragraph-markers
3677 (not-fontified-p ; the node hasn't already been fontified 3677 (not-fontified-p ; the node hasn't already been fontified
3678 (not (let ((where (next-property-change (point-min)))) 3678 (not (let ((where (next-single-property-change (point-min)
3679 'font-lock-face)))
3679 (and where (not (= where (point-max))))))) 3680 (and where (not (= where (point-max)))))))
3680 (fontify-visited-p ; visited nodes need to be re-fontified 3681 (fontify-visited-p ; visited nodes need to be re-fontified
3681 (and Info-fontify-visited-nodes 3682 (and Info-fontify-visited-nodes