summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cpp.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-06-17 11:21:48 +0000
committerEli Zaretskii <eliz@gnu.org>2001-06-17 11:21:48 +0000
commit3c0a21c03dd342b2087720d0ab8a000da32fcc22 (patch)
tree10e5cbc497f4b962308fa8d1daba6e4f06420d25 /lisp/progmodes/cpp.el
parent08de70d7bcf14e90cd0b54fe6d519aa02a48aa93 (diff)
downloademacs-3c0a21c03dd342b2087720d0ab8a000da32fcc22.tar.gz
emacs-3c0a21c03dd342b2087720d0ab8a000da32fcc22.tar.bz2
emacs-3c0a21c03dd342b2087720d0ab8a000da32fcc22.zip
(cpp-make-button): Add help-echo to mouse-highlighted text.
Diffstat (limited to 'lisp/progmodes/cpp.el')
-rw-r--r--lisp/progmodes/cpp.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el
index 6cdaec2fb57..590795a5540 100644
--- a/lisp/progmodes/cpp.el
+++ b/lisp/progmodes/cpp.el
@@ -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))))))