]> git.eshelyaron.com Git - emacs.git/commitdiff
Add help-echo to xrefs
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 5 Jan 2015 23:47:58 +0000 (02:47 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 5 Jan 2015 23:47:58 +0000 (02:47 +0300)
* lisp/progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
to the references.

lisp/ChangeLog
lisp/progmodes/xref.el

index df760f20a7e5aaa36befeaef403e316f3717d42b..76ba2cd4c80c19f3f446bf1c6f2cc6841b674906 100644 (file)
@@ -1,3 +1,8 @@
+2015-01-05  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
+       to the references.
+
 2015-01-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * minibuffer.el (completion-category-defaults): New var.
index 41b70c7eff2b7b0e156d1e1bb44017b2ed12d0c1..b822619f783c0365acabaed4c36b3f8c86c1d5f8 100644 (file)
@@ -434,7 +434,8 @@ GROUP is a string for decoration purposes and XREF is an
                        (list 'xref-location location
                              'face 'font-lock-keyword-face
                              'mouse-face 'highlight
-                             'keymap xref--button-map)
+                             'keymap xref--button-map
+                             'help-echo "mouse-2: display, RET or mouse-1: navigate")
                        description))
                     (when (or more1 more2)
                       (insert "\n")))))