Function: xref-show-location-at-point

xref-show-location-at-point is an interactive and byte-compiled function defined in xref.el.gz.

Signature

(xref-show-location-at-point)

Documentation

Display the source of xref at point in the appropriate window, if any.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/xref.el.gz
(defun xref-show-location-at-point ()
  "Display the source of xref at point in the appropriate window, if any."
  (interactive)
  (let* ((xref (xref--item-at-point))
         (xref-current-item xref))
    (when xref
      (xref--set-arrow)
      (xref--show-location (xref-item-location xref)))))