# HG changeset patch # User Eli Zaretskii # Date 1202566928 0 # Node ID f41bdf06d470eaef1e13fd7eb17919a4098514bc # Parent 48a9d9b1929bf846b7426fb6decaef60d15b043b (compilation-next-error): Doc fix. diff -r 48a9d9b1929b -r f41bdf06d470 lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Sat Feb 09 13:22:35 2008 +0000 +++ b/lisp/progmodes/compile.el Sat Feb 09 14:22:08 2008 +0000 @@ -1544,9 +1544,13 @@ (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"))