* lisp/window.el (replace-buffer-in-windows): Restore interactive spec.

(Probably inadvertently removed when converting to Lisp.)
This commit is contained in:
Chong Yidong 2011-11-20 14:37:46 +08:00
parent 24f3d7b94b
commit 24901d610c
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2011-11-20 Chong Yidong <cyd@gnu.org>
* window.el (replace-buffer-in-windows): Restore interactive spec.
2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
* electric.el (electric-indent-mode): Fix last change (too optimistic).

View file

@ -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)