Function: elisp-refs-symbol

elisp-refs-symbol is an autoloaded, interactive and byte-compiled function defined in elisp-refs.el.

Signature

(elisp-refs-symbol SYMBOL &optional PATH-PREFIX)

Documentation

Display all the references to SYMBOL in all loaded elisp files.

If called with a prefix, prompt for a directory to limit the search.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/elisp-refs-20230920.201/elisp-refs.el
;;;###autoload
(defun elisp-refs-symbol (symbol &optional path-prefix)
  "Display all the references to SYMBOL in all loaded elisp files.

If called with a prefix, prompt for a directory to limit the
search."
  (interactive
   (list (elisp-refs--completing-read-symbol "Symbol: " )
         (when current-prefix-arg
           (read-directory-name "Limit search to loaded files in: "))))
  (elisp-refs--search symbol
                      (elisp-refs--describe-button symbol 'symbol)
                      (lambda (buf)
                        (elisp-refs--read-and-find-symbol buf symbol))
                      path-prefix))