projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e280df0
)
Use xref-goto-xref as the xref mouse binding
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 2 May 2022 08:01:55 +0000
(10:01 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 2 May 2022 08:01:55 +0000
(10:01 +0200)
* lisp/progmodes/xref.el (xref--button-map): Keep the
xref-goto-xref binding instead of select-and-show to be more
similar to grep buffers.
lisp/progmodes/xref.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/xref.el
b/lisp/progmodes/xref.el
index b379448cdb6fb69b78b8f80aea529d48654e6678..6e763eef018f193c813be9a82fe623113c163baf 100644
(file)
--- a/
lisp/progmodes/xref.el
+++ b/
lisp/progmodes/xref.el
@@
-966,7
+966,7
@@
beginning of the line."
(defvar xref--button-map
(let ((map (make-sparse-keymap)))
(define-key map [follow-link] 'mouse-face)
- (define-key map [mouse-2] #'xref-
select-and-show
-xref)
+ (define-key map [mouse-2] #'xref-
goto
-xref)
map))
(defun xref-select-and-show-xref (event)