Function: package--finder-goto-xref

package--finder-goto-xref is a byte-compiled function defined in package.el.gz.

Signature

(package--finder-goto-xref BUTTON)

Documentation

Jump to a Lisp file for the BUTTON at point.

Aliases

finder-goto-xref (obsolete since 29.1)

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/package.el.gz
(defun package--finder-goto-xref (button)
  "Jump to a Lisp file for the BUTTON at point."
  (let* ((file (button-get button 'xref))
         (lib (locate-library file)))
    (if lib (finder-commentary lib)
      (message "Unable to locate `%s'" file))))