]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/winner.el: Fix two comments.
authorStefan Kangas <stefankangas@gmail.com>
Sat, 1 Oct 2022 20:35:46 +0000 (22:35 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 1 Oct 2022 20:35:46 +0000 (22:35 +0200)
lisp/winner.el

index 4290f1fd239139de9aa24b35234dc37d8f7086c5..174b698e7b54780b6d1216cecf669f3b63c82238 100644 (file)
@@ -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)))