diff options
Diffstat (limited to 'lisp/winner.el')
-rw-r--r-- | lisp/winner.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/winner.el b/lisp/winner.el index 174b698e7b5..4290f1fd239 100644 --- a/lisp/winner.el +++ b/lisp/winner.el @@ -171,7 +171,8 @@ You may want to include buffer names such as *Help*, *Apropos*, (/= 0 (minibuffer-depth))) (push (selected-frame) winner-modified-list))) -;; Used as `post-command-hook'. +;; A `post-command-hook' for emacsen with +;; `window-configuration-change-hook'. (defun winner-save-old-configurations () (when (zerop (minibuffer-depth)) (unless (eq this-command winner-last-command) @@ -190,7 +191,8 @@ You may want to include buffer names such as *Help*, *Apropos*, (winner-insert-if-new (selected-frame)) (winner-remember)) -;; Called by `winner-undo' before "undoing". +;; A `post-command-hook' for other emacsen. +;; Also called by `winner-undo' before "undoing". (defun winner-save-conditionally () (when (zerop (minibuffer-depth)) (winner-save-unconditionally))) |