summaryrefslogtreecommitdiff
path: root/lisp/progmodes/xref.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-08-21 11:17:09 +0300
committerEli Zaretskii <eliz@gnu.org>2021-08-21 11:17:09 +0300
commitf658b955ccf256d83917c9f94bdfee36b84105bf (patch)
tree35a47191fb8b0f9bf5c308dd5001e726dfc922fb /lisp/progmodes/xref.el
parent9ea9d21d57f5e698d503f8c4c6c9fbf0e45b3fa0 (diff)
downloademacs-f658b955ccf256d83917c9f94bdfee36b84105bf.tar.gz
emacs-f658b955ccf256d83917c9f94bdfee36b84105bf.tar.bz2
emacs-f658b955ccf256d83917c9f94bdfee36b84105bf.zip
Improve doc string of 'M-.'
* lisp/progmodes/xref.el (xref-find-definitions): Mention 'M-,' in the doc string.
Diffstat (limited to 'lisp/progmodes/xref.el')
-rw-r--r--lisp/progmodes/xref.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index b6ad4854070..21f4abfccf4 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -1309,7 +1309,9 @@ prompt for it.
If sufficient information is available to determine a unique
definition for IDENTIFIER, display it in the selected window.
Otherwise, display the list of the possible definitions in a
-buffer where the user can select from the list."
+buffer where the user can select from the list.
+
+Use \\[xref-pop-marker-stack] to return back to where you invoked this command."
(interactive (list (xref--read-identifier "Find definitions of: ")))
(xref--find-definitions identifier nil))