Function: xref-select-and-show-xref
xref-select-and-show-xref is an interactive and byte-compiled function
defined in xref.el.gz.
Signature
(xref-select-and-show-xref EVENT)
Documentation
Move point to the button and show the xref definition.
The window showing the xref buffer will be selected.
Key Bindings
Aliases
xref--mouse-2 (obsolete since 28.1)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/xref.el.gz
(defun xref-select-and-show-xref (event)
"Move point to the button and show the xref definition.
The window showing the xref buffer will be selected."
(interactive "e")
(mouse-set-point event)
(forward-line 0)
(or (get-text-property (point) 'xref-item)
(xref--search-property 'xref-item))
(xref-show-location-at-point))