summaryrefslogtreecommitdiff
path: root/doc/emacs/building.texi
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2020-03-04 01:48:03 +0200
committerJuri Linkov <juri@linkov.net>2020-03-04 01:48:03 +0200
commit592b1cfee9f80413290dcd470effa7fa14036df3 (patch)
treee24e603c85bf02642a7a165078b31f27c4b6b7ed /doc/emacs/building.texi
parentadd0610ec9327c15ee933f571731401212328810 (diff)
downloademacs-592b1cfee9f80413290dcd470effa7fa14036df3.tar.gz
emacs-592b1cfee9f80413290dcd470effa7fa14036df3.tar.bz2
emacs-592b1cfee9f80413290dcd470effa7fa14036df3.zip
Improve documentation of next-error-highlight-no-select (bug#38778)
* doc/emacs/building.texi (Compilation Mode): Mention next-error-highlight-no-select. * lisp/simple.el (next-error-highlight): Add reference to next-error-highlight-no-select. (next-error-highlight-no-select): Add reference to next-error-highlight.
Diffstat (limited to 'doc/emacs/building.texi')
-rw-r--r--doc/emacs/building.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index 02f18865f39..e866eea4a29 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -214,6 +214,7 @@ Select a buffer to be used by next invocation of @code{next-error} and
@kindex C-x `
@findex next-error
@vindex next-error-highlight
+@vindex next-error-highlight-no-select
To visit errors sequentially, type @w{@kbd{C-x `}}
(@code{next-error}), or equivalently @kbd{M-g M-n} or @kbd{M-g n}.
This command can be invoked from any buffer, not just a Compilation
@@ -258,7 +259,9 @@ to skip any messages.
When Emacs visits the locus of an error message, it momentarily
highlights the relevant source line. The duration of this highlight
-is determined by the variable @code{next-error-highlight}.
+is determined by the variable @code{next-error-highlight} for the locus
+in the selected buffer, and @code{next-error-highlight-no-select} for
+the locus in non-selected buffers.
@vindex compilation-context-lines
If the @file{*compilation*} buffer is shown in a window with a left