aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2011-11-20 14:37:46 +0800
committerChong Yidong <[email protected]>2011-11-20 14:37:46 +0800
commit24901d610c9ff524e7e7c132dca1cd4312368db0 (patch)
treef0c4e749dd56cfbfa3e6e6b1740b2a9d88f77cdb
parent24f3d7b94b364021df18c43c3e7fe4211974ccf9 (diff)
* lisp/window.el (replace-buffer-in-windows): Restore interactive spec.
(Probably inadvertently removed when converting to Lisp.)
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/window.el1
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e6f1bc55bf..db79fdc3b5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-20 Chong Yidong <[email protected]>
+
+ * window.el (replace-buffer-in-windows): Restore interactive spec.
+
2011-11-20 Stefan Monnier <[email protected]>
* electric.el (electric-indent-mode): Fix last change (too optimistic).
diff --git a/lisp/window.el b/lisp/window.el
index 477211672c..2885c3a5c7 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -2920,6 +2920,7 @@ window.
This function removes the buffer denoted by BUFFER-OR-NAME from
all window-local buffer lists."
+ (interactive "bBuffer to replace: ")
(let ((buffer (window-normalize-buffer buffer-or-name)))
(dolist (window (window-list-1 nil nil t))
(if (eq (window-buffer window) buffer)