emacs-31 ae69929472d: ; Improve code comment and 'winner-redo' docstring (bug#81235).
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: emacs-31 commit ae69929472d4cf20e642a63fccd4e3611567478e Author: Ivar Rummelhoff <[email protected]> Commit: Eli Zaretskii <[email protected]> ; Improve code comment and 'winner-redo' docstring (bug#81235). --- lisp/winner.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/winner.el b/lisp/winner.el index e888de2ae35..7b63103fafa 100644 --- a/lisp/winner.el +++ b/lisp/winner.el @@ -272,8 +272,8 @@ You may want to include buffer names such as *Help*, *Apropos*, ;; Make sure point does not end up in the minibuffer and delete -;; windows displaying dead or boring buffers -;; (cf. `winner-boring-buffers') and `winner-boring-buffers-regexp'. +;; windows displaying dead or boring buffers, +;; cf. `winner-boring-buffers' and `winner-boring-buffers-regexp'. ;; Return nil if all the windows should be deleted. Preserve correct ;; points and marks. (defun winner-set (conf) @@ -425,7 +425,10 @@ In other words, \"undo\" changes in window configuration." (defun winner-redo () ; If you change your mind. - "Restore a more recent window configuration saved by Winner mode." + "Cancel the current sequence of `winner-undo' commands. +This restores the window configuration before that sequence. If any +other command has intervened, `winner-redo' is no longer applicable; +but the configuration can then be restored with `winner-undo'." (interactive) (cond ((eq last-command 'winner-undo)