Commit 9b93e3b0 authored by Martin Rudalics's avatar Martin Rudalics

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).
parent a552cc21
Pipeline #921 failed with stage
in 52 minutes and 32 seconds
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment