changeset 108351:b9c7f875c4e8

* info.el (Info-fontify-node): Put Info-breadcrumbs to the `display' property instead of `invisible' and `after-string' (bug#5998).
author Juri Linkov <juri@jurta.org>
date Fri, 23 Apr 2010 19:46:03 +0300
parents 224e769e00a2
children cf2043af9228
files lisp/ChangeLog lisp/info.el
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Apr 23 19:35:57 2010 +0300
+++ b/lisp/ChangeLog	Fri Apr 23 19:46:03 2010 +0300
@@ -1,3 +1,8 @@
+2010-04-23  Juri Linkov  <juri@jurta.org>
+
+	* info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
+	property instead of `invisible' and `after-string' (bug#5998).
+
 2010-04-23  Juri Linkov  <juri@jurta.org>
 
 	* image-mode.el (image-mode-as-text): Fix typo in docstring.
--- a/lisp/info.el	Fri Apr 23 19:35:57 2010 +0300
+++ b/lisp/info.el	Fri Apr 23 19:46:03 2010 +0300
@@ -4295,8 +4295,7 @@
             (cond
              ((> Info-breadcrumbs-depth 0)
 	      (let ((ov (make-overlay (point-min) (1+ header-end))))
-		(overlay-put ov 'invisible t)
-		(overlay-put ov 'after-string (Info-breadcrumbs))
+		(overlay-put ov 'display (Info-breadcrumbs))
 		(overlay-put ov 'evaporate t)))
              ((not (bobp))
               ;; Hide the punctuation at the end, too.