From: Eli Zaretskii Date: Sat, 9 Feb 2008 14:22:49 +0000 (+0000) Subject: (compilation-next-error): Doc fix. X-Git-Tag: emacs-pretest-22.1.91~44 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d0048c60f239ad126d061b5ddbf5145cf309e25d;p=emacs.git (compilation-next-error): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9e44d6a7e2b..27a2e5979ff 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2008-02-09 Eli Zaretskii + + * progmodes/compile.el (compilation-next-error): Doc fix. + 2008-02-09 Glenn Morris * net/net-utils.el (ipconfig-program, ipconfig-program-options): diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 1fd0074dd41..bd7302a5a7e 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -1544,9 +1544,13 @@ Just inserts the text, but uses `insert-before-markers'." (defun compilation-next-error (n &optional different-file pt) "Move point to the next error in the compilation buffer. +This function does NOT find the source line like \\[next-error]. Prefix arg N says how many error messages to move forwards (or backwards, if negative). -Does NOT find the source line like \\[next-error]." +Optional arg DIFFERENT-FILE, if non-nil, means find next error for a +file that is different from the current one. +Optional arg PT, if non-nil, specifies the value of point to start +looking for the next message." (interactive "p") (or (compilation-buffer-p (current-buffer)) (error "Not in a compilation buffer"))