]> code.delx.au - gnu-emacs/commitdiff
(compilation-find-buffer): Rename arg.
authorRichard M. Stallman <rms@gnu.org>
Mon, 27 Dec 2004 16:09:37 +0000 (16:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 27 Dec 2004 16:09:37 +0000 (16:09 +0000)
lisp/progmodes/compile.el

index 9c7e8fe156071b7ae7d12625a79c5426120570f6..601eb03946e80e56496b8229b590d0cf9c2105a9 100644 (file)
@@ -1463,8 +1463,8 @@ Use this command in a compilation log buffer.  Sets the mark at point there."
 ;; If the current buffer is a compilation buffer, return it.
 ;; Otherwise, look for a compilation buffer and signal an error
 ;; if there are none.
-(defun compilation-find-buffer (&optional other-buffer)
-  (next-error-find-buffer other-buffer 'compilation-buffer-internal-p))
+(defun compilation-find-buffer (&optional avoid-current)
+  (next-error-find-buffer avoid-current 'compilation-buffer-internal-p))
 
 ;;;###autoload
 (defun compilation-next-error-function (n &optional reset)