summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-03-08 12:21:29 +0200
committerEli Zaretskii <eliz@gnu.org>2019-03-08 12:21:29 +0200
commitf0be0f1bed9949fab2773d352917a6a610045795 (patch)
tree2de23e4178c1660481ae2a9f2f52f8c7c9aeb4cf /lisp/window.el
parentf1bddc78230625dfd4087a0f3ae4d4f592e10672 (diff)
downloademacs-f0be0f1bed9949fab2773d352917a6a610045795.tar.gz
Improve documentation of 'delete-windows-on'
* doc/emacs/windows.texi (Change Window): Document 'delete-windows-on'. * lisp/window.el (delete-windows-on): Doc fix. (Bug#34749)
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 8c04e010678..907b3d038fc 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -4684,6 +4684,8 @@ displayed there."
BUFFER-OR-NAME may be a buffer or the name of an existing buffer
and defaults to the current buffer.
+Interactively, prompt for the buffer.
+
The following non-nil values of the optional argument FRAME
have special meanings:
@@ -4700,6 +4702,10 @@ have special meanings:
Any other value of FRAME means consider all windows on all
frames.
+Interactively, FRAME is the prefix argument, so you can
+use \\[universal-argument] 0 to specify all windows only on
+the current terminal's 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."