diff lisp/info.el @ 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 a802c5505156
children 65ca8fb66a0d
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