Make the xref--button-map more regular

* lisp/progmodes/xref.el (xref--button-map): Remove the mouse-1
binding (bug#35353).
This commit is contained in:
Lars Ingebrigtsen 2022-04-30 13:38:04 +02:00
parent 5a10e6377c
commit 4290f64dc9

View file

@ -965,8 +965,6 @@ beginning of the line."
(defvar xref--button-map
(let ((map (make-sparse-keymap)))
(when mouse-1-click-follows-link
(define-key map [mouse-1] #'xref-goto-xref))
(define-key map [follow-link] 'mouse-face)
(define-key map [mouse-2] #'xref-select-and-show-xref)
map))