From 179a1d52984b8b79e7614fe2f8d8a5c8e355809c Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 1 Oct 2022 22:35:46 +0200 Subject: [PATCH] ; * lisp/winner.el: Fix two comments. --- lisp/winner.el | 6 ++---- 1 file 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))) -- 2.39.2