changeset 56873:875c4c833a38

(Compilation Mode): Add a paragraph about rules for finding the compilation buffer for `next-error'.
author Juri Linkov <juri@jurta.org>
date Thu, 02 Sep 2004 09:36:35 +0000
parents f259838f8412
children 78f410cd4bda
files man/building.texi
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/man/building.texi	Thu Sep 02 09:30:26 2004 +0000
+++ b/man/building.texi	Thu Sep 02 09:36:35 2004 +0000
@@ -204,6 +204,14 @@
 buffer and finds no more error messages to visit, it fails and signals
 an Emacs error.
 
+  You don't have to be in the compilation buffer in order to use
+@code{next-error}.  If one window on the selected frame can be the
+target of the @code{next-error} call, it is used.  Else, if a buffer
+previously had @code{next-error} called on it, it is used.  Else,
+if the current buffer can be the target of @code{next-error}, it is
+used.  Else, all the buffers Emacs manages are tried for
+@code{next-error} support.
+
   @kbd{C-u C-x `} starts scanning from the beginning of the compilation
 buffer.  This is one way to process the same set of errors again.