summaryrefslogtreecommitdiff
path: root/doc/emacs/maintaining.texi
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2021-10-25 20:38:31 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2021-10-25 20:45:18 +0200
commitd8caa3d9fbd90de41efacfeb23c242df81c62bd0 (patch)
tree6799fd2b630ddcced98d716e7a77f5dc98b35454 /doc/emacs/maintaining.texi
parente97d4e4ab216acf2bf7395a0d5137dacd9b390f8 (diff)
downloademacs-d8caa3d9fbd90de41efacfeb23c242df81c62bd0.tar.gz
emacs-d8caa3d9fbd90de41efacfeb23c242df81c62bd0.tar.bz2
emacs-d8caa3d9fbd90de41efacfeb23c242df81c62bd0.zip
Rename `xref-pop-marker-stack` to `xref-go-back` (bug#38797)
It is the natural name after the addition of `xref-go-forward`. The old name is retained as an alias. * lisp/progmodes/xref.el (xref-pop-marker-stack): Rename. (xref-go-forward, xref-quit-and-pop-marker-stack) (xref-find-definitions): * lisp/menu-bar.el (menu-bar-goto-menu): * lisp/progmodes/etags.el (find-tag-marker-ring, pop-tag-mark): * lisp/progmodes/prog-mode.el (prog-context-menu): * doc/emacs/maintaining.texi (Looking Up Identifiers): * etc/NEWS: Use the new name.
Diffstat (limited to 'doc/emacs/maintaining.texi')
-rw-r--r--doc/emacs/maintaining.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index e28ec5fb437..9a90a0054d4 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -2139,7 +2139,7 @@ Find definition of identifier, and display it in a new frame
Find definition of identifier at mouse click.
@item M-,
Go back to where you previously invoked @kbd{M-.} and friends
-(@code{xref-pop-marker-stack}).
+(@code{xref-go-back}).
@item C-M-,
Go forward to where you previously invoked @kbd{M-,}
(@code{xref-go-forward}).
@@ -2207,9 +2207,9 @@ selects the window showing the first candidate. The default value is
buffer, but doesn't select any of them.
@kindex M-,
-@findex xref-pop-marker-stack
+@findex xref-go-back
To go back to places @emph{from where} you've displayed the definition,
-use @kbd{M-,} (@code{xref-pop-marker-stack}). It jumps back to the
+use @kbd{M-,} (@code{xref-go-back}). It jumps back to the
point of the last invocation of @kbd{M-.}. Thus you can find and
examine the definition of something with @kbd{M-.} and then return to
where you were with @kbd{M-,}.