[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/switchy-window 3eb1132b5d 06/10: Adapt docstrings to pa
From: |
ELPA Syncer |
Subject: |
[elpa] externals/switchy-window 3eb1132b5d 06/10: Adapt docstrings to pacify checkdoc |
Date: |
Sun, 9 Apr 2023 07:59:41 -0400 (EDT) |
branch: externals/switchy-window
commit 3eb1132b5d22e262533bb877777a87f721887db0
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
Adapt docstrings to pacify checkdoc
---
switchy.el | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/switchy.el b/switchy.el
index fb08ee6efd..0bc0c5fbf7 100644
--- a/switchy.el
+++ b/switchy.el
@@ -57,7 +57,7 @@
;;; Code:
(defgroup switchy nil
- "switchy is a last-recently-used window-switcher."
+ "Switchy is a last-recently-used window-switcher."
:group 'windows)
(defvar switchy--tick-counter 0
@@ -70,8 +70,11 @@ A higher TICK value means a window has more recently been
visited.
Only for internal use.")
(defcustom switchy-delay 1.5
- "Number of seconds before the current window gets locked in after
-switching and the switching sequence ends."
+ "Number of seconds before the current window gets locked in.
+If more time elapses between consecutive invocations of
+`switchy-window', the current window's tick (timestamp) is
+updated in `switchy--tick-alist' and the current switching cycle
+ends."
:type 'number)
(defvar switchy--timer nil
@@ -82,7 +85,7 @@ Only for internal use.")
"The windows having already been visited in the current switching cycle.")
(defun switchy--on-window-selection-change (&optional frame)
- "Record the next `switchy--tick-counter' value for the selected window.
+ "Record the next `switchy--tick-counter' value for the selected window of
FRAME.
Meant to be used in `window-selection-change-functions' which is
arranged by `switchy-minor-mode'."
(when (eq frame (selected-frame))
@@ -168,10 +171,12 @@ No keys are bound by default. Bind the main command
(keymap-global-unset \"<remap> <other-window>\"))))")
(define-minor-mode switchy-minor-mode
- "Activates recording of window selection ticks, i.e., timestamps
-for figuring out the last-recently-used order of windows.
+ "Activates recording of window selection ticks.
+Those are the timestamps for figuring out the last-recently-used
+order of windows.
-It uses the keymap `switchy-minor-mode-map', which see."
+The minor-mode provides the keymap `switchy-minor-mode-map',
+which see."
:global t
:keymap switchy-minor-mode-map
(if switchy-minor-mode
@@ -181,3 +186,7 @@ It uses the keymap `switchy-minor-mode-map', which see."
#'switchy--on-window-selection-change)))
(provide 'switchy)
+
+(provide 'switchy)
+
+;;; switchy.el ends here
- [elpa] branch externals/switchy-window created (now b55406e057), ELPA Syncer, 2023/04/09
- [elpa] externals/switchy-window 8698a241b5 01/10: Initial commit, ELPA Syncer, 2023/04/09
- [elpa] externals/switchy-window 3ff2c4e520 04/10: Fix typos, ELPA Syncer, 2023/04/09
- [elpa] externals/switchy-window 3eb1132b5d 06/10: Adapt docstrings to pacify checkdoc,
ELPA Syncer <=
- [elpa] externals/switchy-window 0c08dad41a 03/10: Add README.md and a small fix, ELPA Syncer, 2023/04/09
- [elpa] externals/switchy-window e2392fcbb9 07/10: Rename to switchy-window, ELPA Syncer, 2023/04/09
- [elpa] externals/switchy-window b55406e057 10/10: Fix terminology: last-recently-used is actually most-recently-used, ELPA Syncer, 2023/04/09
- [elpa] externals/switchy-window a95c7ff8ec 09/10: Fix Makefile; silence byte-compiler, ELPA Syncer, 2023/04/09
- [elpa] externals/switchy-window b57d6a8df4 02/10: Document and improve, ELPA Syncer, 2023/04/09
- [elpa] externals/switchy-window 826fc65d1e 05/10: switchy-window: signal error if switchy-minor-mode is not enabled, ELPA Syncer, 2023/04/09
- [elpa] externals/switchy-window 032c68dd11 08/10: Update URLs, ELPA Syncer, 2023/04/09