]> git.eshelyaron.com Git - emacs.git/commitdiff
Make the xref--button-map more regular
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2022 11:38:04 +0000 (13:38 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2022 11:38:18 +0000 (13:38 +0200)
* lisp/progmodes/xref.el (xref--button-map): Remove the mouse-1
binding (bug#35353).

lisp/progmodes/xref.el

index 6fa9a5c8d69c41b362aa76f3ee36cca4b61aae77..b379448cdb6fb69b78b8f80aea529d48654e6678 100644 (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))