From 4290f64dc9948264b5d9bdad2330ee15aafe6589 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 30 Apr 2022 13:38:04 +0200 Subject: [PATCH] Make the xref--button-map more regular * lisp/progmodes/xref.el (xref--button-map): Remove the mouse-1 binding (bug#35353). --- lisp/progmodes/xref.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 6fa9a5c8d69..b379448cdb6 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -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)) -- 2.39.2