branch: externals/window-commander commit b2dcc60dab28bb4ea2355d5825a23fee7d363e90 Author: Daniel Semyonov <dan...@dsemy.com> Commit: Daniel Semyonov <dan...@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)))