diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-10-01 22:35:46 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-10-01 22:35:46 +0200 |
commit | 179a1d52984b8b79e7614fe2f8d8a5c8e355809c (patch) | |
tree | 04ada4e60cdc5c24be3c89b9aa4ac74e1af80361 /lisp/winner.el | |
parent | fee9deff5309cfc5f952181cb2cae1a344b4cc45 (diff) | |
download | emacs-179a1d52984b8b79e7614fe2f8d8a5c8e355809c.tar.gz |
; * lisp/winner.el: Fix two comments.
Diffstat (limited to 'lisp/winner.el')
-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*, (/= 0 (minibuffer-depth))) (push (selected-frame) winner-modified-list))) -;; A `post-command-hook' for emacsen with -;; `window-configuration-change-hook'. +;; Used as `post-command-hook'. (defun winner-save-old-configurations () (when (zerop (minibuffer-depth)) (unless (eq this-command winner-last-command) @@ -191,8 +190,7 @@ You may want to include buffer names such as *Help*, *Apropos*, (winner-insert-if-new (selected-frame)) (winner-remember)) -;; A `post-command-hook' for other emacsen. -;; Also called by `winner-undo' before "undoing". +;; Called by `winner-undo' before "undoing". (defun winner-save-conditionally () (when (zerop (minibuffer-depth)) (winner-save-unconditionally))) |