Mercurial > emacs
changeset 59116:dc790c155f8a
(compilation-find-buffer): Rename arg.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 27 Dec 2004 16:09:37 +0000 |
parents | fb586fbcd93c |
children | 7aa5e44f673f |
files | lisp/progmodes/compile.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)