summaryrefslogtreecommitdiff
path: root/lisp/winner.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-10-01 22:32:25 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-10-01 22:34:47 +0200
commitfee9deff5309cfc5f952181cb2cae1a344b4cc45 (patch)
treea76ee68102411f859337b738b0cdcfe55ecf0cef /lisp/winner.el
parentbe85d2d92070c15da495fa16199112f118f03da5 (diff)
downloademacs-fee9deff5309cfc5f952181cb2cae1a344b4cc45.tar.gz
Revert "Decrease use of the word "Emacsen" in docs"
This reverts commit 55f46cc77cb9d72fbabadb63d8aeab45c5e005e2. Ref. https://lists.gnu.org/r/emacs-devel/2022-10/msg00016.html
Diffstat (limited to 'lisp/winner.el')
-rw-r--r--lisp/winner.el6
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)))