From: Eli Zaretskii Date: Mon, 12 Mar 2018 16:02:15 +0000 (+0200) Subject: Fix last change in Xref documentation X-Git-Tag: emacs-26.1-rc1~100 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=761845cc4acd517fdab4375aa54fc04301095351;p=emacs.git Fix last change in Xref documentation * doc/emacs/maintaining.texi (Looking Up Identifiers): More accurate wording for the description of xref-etags-mode. --- diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 6ee2f2cc597..619f80a3155 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -1875,15 +1875,17 @@ steps to a depth determined by the variable @findex xref-etags-mode Some major modes install @code{xref} support facilities that might -fail to find certain identifiers. For example, in Emacs Lisp mode -(@pxref{Lisp Eval}) @kbd{M-.} will by default find only functions and -variables from Lisp packages that are loaded into the current Emacs -session. To find more identifiers, turn on the Xref Etags minor mode -with @w{@kbd{M-x xref-etags-mode}}. This command forces @code{xref} -to use the @code{etags} backend (@pxref{Xref}). (For this to work, -you should first run @command{etags} to create the tags table, see -@ref{Create Tags Table}.) - +sometimes fail to find certain identifiers. For example, in Emacs +Lisp mode (@pxref{Lisp Eval}) @kbd{M-.} will by default find only +functions and variables from Lisp packages which are loaded into the +current Emacs session or are auto-loaded (@pxref{Autoload,,, elisp, +The Emacs Lisp Reference Manual}). If @kbd{M-.} fails to find some +identifiers, you can try forcing @code{xref} to use the @code{etags} +backend (@pxref{Xref}). To this end, turn on the Xref Etags minor +mode with @w{@kbd{M-x xref-etags-mode}}, then invoke @kbd{M-.} again. +(For this to work, be sure to run @command{etags} to create the tags +table in the directory tree of the source files, see @ref{Create Tags +Table}.) @node Xref Commands @subsubsection Commands Available in the @file{*xref*} Buffer