* info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
authorJuri Linkov <juri@jurta.org>
Fri, 23 Apr 2010 16:46:03 +0000 (19:46 +0300)
committerJuri Linkov <juri@jurta.org>
Fri, 23 Apr 2010 16:46:03 +0000 (19:46 +0300)
property instead of `invisible' and `after-string' (bug#5998).

lisp/ChangeLog
lisp/info.el

index 376e0cf..0235ca8 100644 (file)
@@ -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.
index c4b942b..42ec43e 100644 (file)
@@ -4295,8 +4295,7 @@ the variable `Info-file-list-for-emacs'."
             (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.