From: Eshel Yaron Date: Sat, 8 Jun 2024 19:41:00 +0000 (+0200) Subject: (xref-find-definitions-at-mouse): Cease setting point X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=954d7f59ef3c71c641e53b9c16db269cd6d5ee13;p=emacs.git (xref-find-definitions-at-mouse): Cease setting point --- diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 2451fc323f1..d234aa1a026 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -1811,9 +1811,7 @@ This command is intended to be bound to a mouse event." (mouse-set-point event) (xref-backend-identifier-at-point (xref-find-backend))))) (if identifier - (progn - (mouse-set-point event) - (xref-find-definitions identifier)) + (xref-find-definitions identifier) (user-error "No identifier here")))) ;;;###autoload