From: Lars Ingebrigtsen Date: Sat, 30 Apr 2022 11:38:04 +0000 (+0200) Subject: Make the xref--button-map more regular X-Git-Tag: emacs-29.0.90~1931^2~189 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4290f64dc9948264b5d9bdad2330ee15aafe6589;p=emacs.git Make the xref--button-map more regular * lisp/progmodes/xref.el (xref--button-map): Remove the mouse-1 binding (bug#35353). --- 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))