]> git.eshelyaron.com Git - emacs.git/commitdiff
(cpp-make-button): Add help-echo to mouse-highlighted text.
authorEli Zaretskii <eliz@gnu.org>
Sun, 17 Jun 2001 11:21:48 +0000 (11:21 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 17 Jun 2001 11:21:48 +0000 (11:21 +0000)
lisp/progmodes/cpp.el

index 6cdaec2fb57e5825158f812a5294bc88e3b2d0e0..590795a5540122500f9f86c106c700576cbcfee2 100644 (file)
@@ -776,6 +776,7 @@ BRANCH should be either nil (false branch), t (true branch) or 'both."
     (add-text-properties from to
                         (append (list 'face face)
                                 '(mouse-face highlight)
+                                '(help-echo "mouse-2: change/use this item")
                                 (list 'cpp-callback callback)
                                 (if data (list 'cpp-data data))))))