aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2004-12-27 16:09:37 +0000
committerRichard M. Stallman <[email protected]>2004-12-27 16:09:37 +0000
commit749354f058407f2739171d9191a1c7878576ec54 (patch)
treef6317615cc422b28ffee2d4b14db9bbb1f64e003 /lisp/progmodes
parente4e8e01e8d255a032ac1d5eba0a84ee3d8faa007 (diff)
(compilation-find-buffer): Rename arg.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/compile.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 9c7e8fe156..601eb03946 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -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)