(xref-find-definitions): Mention "no identifier at point" case
* lisp/progmodes/xref.el (xref-find-definitions): Mention "no identifier at point" case in the docstring.
This commit is contained in:
parent
01827de451
commit
0d7f85fbca
2 changed files with 5 additions and 1 deletions
|
@ -467,7 +467,8 @@ Return an alist of the form ((FILENAME . (XREF ...)) ...)."
|
|||
;;;###autoload
|
||||
(defun xref-find-definitions (identifier)
|
||||
"Find the definition of the identifier at point.
|
||||
With prefix argument, prompt for the identifier."
|
||||
With prefix argument or when there's no identifier at point,
|
||||
prompt for it."
|
||||
(interactive (list (xref--read-identifier "Find definitions of: ")))
|
||||
(xref--find-definitions identifier nil))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue