From 24901d610c9ff524e7e7c132dca1cd4312368db0 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 20 Nov 2011 14:37:46 +0800 Subject: [PATCH] * lisp/window.el (replace-buffer-in-windows): Restore interactive spec. (Probably inadvertently removed when converting to Lisp.) --- lisp/ChangeLog | 4 ++++ lisp/window.el | 1 + 2 files changed, 5 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e6f1bc55bf2..db79fdc3b56 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-11-20 Chong Yidong + + * window.el (replace-buffer-in-windows): Restore interactive spec. + 2011-11-20 Stefan Monnier * electric.el (electric-indent-mode): Fix last change (too optimistic). diff --git a/lisp/window.el b/lisp/window.el index 477211672cf..2885c3a5c70 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) -- 2.39.2