diff options
| author | Stefan Kangas | 2022-10-01 22:35:46 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-10-01 22:35:46 +0200 |
| commit | 179a1d52984b8b79e7614fe2f8d8a5c8e355809c (patch) | |
| tree | 04ada4e60cdc5c24be3c89b9aa4ac74e1af80361 | |
| parent | fee9deff5309cfc5f952181cb2cae1a344b4cc45 (diff) | |
| download | emacs-179a1d52984b8b79e7614fe2f8d8a5c8e355809c.tar.gz emacs-179a1d52984b8b79e7614fe2f8d8a5c8e355809c.zip | |
; * lisp/winner.el: Fix two comments.
| -rw-r--r-- | lisp/winner.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/winner.el b/lisp/winner.el index 4290f1fd239..174b698e7b5 100644 --- a/lisp/winner.el +++ b/lisp/winner.el | |||
| @@ -171,8 +171,7 @@ You may want to include buffer names such as *Help*, *Apropos*, | |||
| 171 | (/= 0 (minibuffer-depth))) | 171 | (/= 0 (minibuffer-depth))) |
| 172 | (push (selected-frame) winner-modified-list))) | 172 | (push (selected-frame) winner-modified-list))) |
| 173 | 173 | ||
| 174 | ;; A `post-command-hook' for emacsen with | 174 | ;; Used as `post-command-hook'. |
| 175 | ;; `window-configuration-change-hook'. | ||
| 176 | (defun winner-save-old-configurations () | 175 | (defun winner-save-old-configurations () |
| 177 | (when (zerop (minibuffer-depth)) | 176 | (when (zerop (minibuffer-depth)) |
| 178 | (unless (eq this-command winner-last-command) | 177 | (unless (eq this-command winner-last-command) |
| @@ -191,8 +190,7 @@ You may want to include buffer names such as *Help*, *Apropos*, | |||
| 191 | (winner-insert-if-new (selected-frame)) | 190 | (winner-insert-if-new (selected-frame)) |
| 192 | (winner-remember)) | 191 | (winner-remember)) |
| 193 | 192 | ||
| 194 | ;; A `post-command-hook' for other emacsen. | 193 | ;; Called by `winner-undo' before "undoing". |
| 195 | ;; Also called by `winner-undo' before "undoing". | ||
| 196 | (defun winner-save-conditionally () | 194 | (defun winner-save-conditionally () |
| 197 | (when (zerop (minibuffer-depth)) | 195 | (when (zerop (minibuffer-depth)) |
| 198 | (winner-save-unconditionally))) | 196 | (winner-save-unconditionally))) |