# HG changeset patch # User Richard M. Stallman # Date 1104163777 0 # Node ID dc790c155f8a931b80437402fba66390695edfdd # Parent fb586fbcd93c4080d80f586e0474417de29239c9 (compilation-find-buffer): Rename arg. diff -r fb586fbcd93c -r dc790c155f8a lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Mon Dec 27 16:08:57 2004 +0000 +++ b/lisp/progmodes/compile.el Mon Dec 27 16:09:37 2004 +0000 @@ -1463,8 +1463,8 @@ ;; 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)