From d8caa3d9fbd90de41efacfeb23c242df81c62bd0 Mon Sep 17 00:00:00 2001 From: Mattias EngdegÄrd Date: Mon, 25 Oct 2021 20:38:31 +0200 Subject: 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. --- doc/emacs/maintaining.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/emacs/maintaining.texi') 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-,}. -- cgit v1.2.3