emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/swsw b2dcc60dab 136/146: ; Explain 'swsw--id-counter' more


From: ELPA Syncer
Subject: [nongnu] elpa/swsw b2dcc60dab 136/146: ; Explain 'swsw--id-counter' more thoroughly
Date: Wed, 25 May 2022 02:59:55 -0400 (EDT)

branch: elpa/swsw
commit b2dcc60dab28bb4ea2355d5825a23fee7d363e90
Author: Daniel Semyonov <daniel@dsemy.com>
Commit: Daniel Semyonov <daniel@dsemy.com>

    ; Explain 'swsw--id-counter' more thoroughly
---
 swsw.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/swsw.el b/swsw.el
index 0141758167..34f40e1547 100644
--- a/swsw.el
+++ b/swsw.el
@@ -226,6 +226,9 @@ is t."
         swsw-window-count 0
         swsw--current-frame (selected-frame))
   ;; Clear and resize `swsw--id-counter' according to the ID length.
+  ;; `swsw--id-counter' is treated as a base-N number where N is the
+  ;; length of `swsw-id-chars' and each digit M represents the Mth
+  ;; char in `swsw-id-chars'.
   (dotimes (_var (swsw--get-id-length))
     (push 0 swsw--id-counter))
   (walk-windows #'swsw--update-window nil (swsw--get-scope)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]