From: Martin Rudalics Date: Tue, 5 Mar 2019 10:01:14 +0000 (+0100) Subject: Fix interactive spec of some functions in window.el (Bug#34749) X-Git-Tag: emacs-27.0.90~3479 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9b93e3b0759d562989283eaecf32e075f984c18c;p=emacs.git Fix interactive spec of some functions in window.el (Bug#34749) * lisp/window.el (delete-windows-on, quit-windows-on) (display-buffer-other-frame): Interactively, permit existing buffers only (Bug#34749). --- diff --git a/lisp/window.el b/lisp/window.el index 80828bb35c8..9566429627d 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -4711,7 +4711,7 @@ frames. When a window showing BUFFER-OR-NAME is dedicated and the only window of its frame, that frame is deleted when there are other frames left." - (interactive "BDelete windows on (buffer):\nP") + (interactive "bDelete windows on (buffer):\nP") (let ((buffer (window-normalize-buffer buffer-or-name)) ;; Handle the "inverted" meaning of the FRAME argument wrt other ;; `window-list-1' based function. @@ -4894,7 +4894,7 @@ BUFFER-OR-NAME. Optional argument FRAME is handled as by This function calls `quit-window' on all candidate windows showing BUFFER-OR-NAME." - (interactive "BQuit windows on (buffer):\nP") + (interactive "bQuit windows on (buffer):\nP") (let ((buffer (window-normalize-buffer buffer-or-name)) ;; Handle the "inverted" meaning of the FRAME argument wrt other ;; `window-list-1' based function. @@ -7188,7 +7188,7 @@ on all the frames on the current terminal, skipping the selected window; if that fails, it pops up a new frame. This uses the function `display-buffer' as a subroutine; see its documentation for additional customization information." - (interactive "BDisplay buffer in other frame: ") + (interactive "bDisplay buffer in other frame: ") (display-buffer buffer display-buffer--other-frame-action t)) ;;; `display-buffer' action functions: