changeset 33016:3cdab1228462

(Info-fontify-node): Add help-echo for menu items.
author Dave Love <fx@gnu.org>
date Sat, 28 Oct 2000 18:56:05 +0000
parents c50588266cd5
children 4c7241b226fc
files lisp/info.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Sat Oct 28 18:48:08 2000 +0000
+++ b/lisp/info.el	Sat Oct 28 18:56:05 2000 +0000
@@ -2450,10 +2450,10 @@
 		  (put-text-property (match-beginning 0)
 				     (1+ (match-beginning 0))
 				     'face 'info-menu-5))
-	      (put-text-property (match-beginning 1) (match-end 1)
-				 'face 'info-xref)
-	      (put-text-property (match-beginning 1) (match-end 1)
-				 'mouse-face 'highlight))))
+	      (add-text-properties (match-beginning 1) (match-end 1)
+				   '(face info-xref
+				     mouse-face highlight
+				     help-echo "mouse-2: go to this node")))))
       (set-buffer-modified-p nil))))