From: Stefan Kangas Date: Sat, 1 Oct 2022 20:35:46 +0000 (+0200) Subject: ; * lisp/winner.el: Fix two comments. X-Git-Tag: emacs-29.0.90~1856^2~90 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=179a1d52984b8b79e7614fe2f8d8a5c8e355809c;p=emacs.git ; * lisp/winner.el: Fix two comments. --- 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)))