aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorDmitry Gutov2015-01-06 02:47:58 +0300
committerDmitry Gutov2015-01-06 02:47:58 +0300
commitf5afaf9ce74dd04e37d72e62ecd85fc19c06bb55 (patch)
tree9dc1c222883b62b555e2b90dba5bd1ee84576ee3 /lisp/progmodes
parent6e8fe3f853afc6664ab53ba11d9a508c489e5c68 (diff)
downloademacs-f5afaf9ce74dd04e37d72e62ecd85fc19c06bb55.tar.gz
emacs-f5afaf9ce74dd04e37d72e62ecd85fc19c06bb55.zip
Add help-echo to xrefs
* lisp/progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property to the references.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/xref.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 41b70c7eff2..b822619f783 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -434,7 +434,8 @@ GROUP is a string for decoration purposes and XREF is an
434 (list 'xref-location location 434 (list 'xref-location location
435 'face 'font-lock-keyword-face 435 'face 'font-lock-keyword-face
436 'mouse-face 'highlight 436 'mouse-face 'highlight
437 'keymap xref--button-map) 437 'keymap xref--button-map
438 'help-echo "mouse-2: display, RET or mouse-1: navigate")
438 description)) 439 description))
439 (when (or more1 more2) 440 (when (or more1 more2)
440 (insert "\n"))))) 441 (insert "\n")))))