changeset 90368:48921c9f3f33

(Info-fontify-node): Check if already fontified or not by next-single-property-change.
author Kenichi Handa <handa@m17n.org>
date Tue, 14 Mar 2006 12:14:57 +0000
parents 190ec6fe5153
children 88810aee3a45
files lisp/info.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Tue Mar 14 07:53:00 2006 +0000
+++ b/lisp/info.el	Tue Mar 14 12:14:57 2006 +0000
@@ -3675,7 +3675,8 @@
            (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