emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 cf4dc95: * lisp/window.el (window-toggle-side-win


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 cf4dc95: * lisp/window.el (window-toggle-side-windows): Doc fix. (Bug#31858)
Date: Sun, 17 Jun 2018 01:42:51 -0400 (EDT)

branch: emacs-26
commit cf4dc95f166d85a90560cbb3494d2eb878185862
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    * lisp/window.el (window-toggle-side-windows): Doc fix.  (Bug#31858)
---
 lisp/window.el | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/lisp/window.el b/lisp/window.el
index abd1a68..2c0ea8e 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -1144,15 +1144,16 @@ explicitly provided via a `window-parameters' entry in 
ALIST."
                    buffer best-window 'reuse alist dedicated)))))))))
 
 (defun window-toggle-side-windows (&optional frame)
-  "Toggle side windows on specified FRAME.
+  "Toggle display of side windows on specified FRAME.
 FRAME must be a live frame and defaults to the selected one.
 
-If FRAME has at least one side window, save FRAME's state in the
-FRAME's `window-state' frame parameter and delete all side
-windows on FRAME afterwards.  Otherwise, if FRAME has a
-`window-state' parameter, use that to restore any side windows on
-FRAME leaving FRAME's main window alone.  Signal an error if
-FRAME has no side window and no saved state is found."
+If FRAME has at least one side window, delete all side
+windows on FRAME after saving FRAME's state in the
+FRAME's `window-state' frame parameter.  Otherwise,
+restore any side windows recorded in FRAME's `window-state'
+parameter, leaving FRAME's main window alone.  Signal an
+error if FRAME has no side windows and no saved state for
+it is found."
   (interactive)
   (let* ((frame (window-normalize-frame frame))
          (window--sides-inhibit-check t)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]