]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix interactive spec of some functions in window.el (Bug#34749)
authorMartin Rudalics <rudalics@gmx.at>
Tue, 5 Mar 2019 10:01:14 +0000 (11:01 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 5 Mar 2019 10:01:14 +0000 (11:01 +0100)
* lisp/window.el (delete-windows-on, quit-windows-on)
(display-buffer-other-frame): Interactively, permit existing
buffers only (Bug#34749).

lisp/window.el

index 80828bb35c873dc5a61793f835d8e69eedc1870c..9566429627d34ff311f535e7ddb4e245fab3599f 100644 (file)
@@ -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: