Commit 0d7f85fb authored by Dmitry Gutov's avatar Dmitry Gutov

(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.
parent 01827de4
2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/xref.el (xref-find-definitions): Mention "no
identifier at point" case in the docstring.
* menu-bar.el (menu-bar-goto-uses-etags-p): New function.
(menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
and `separator-tag-file' items.
......
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment