[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/window-commander 09bb140ee3 096/170: * swsw.el (swsw-up
From: |
ELPA Syncer |
Subject: |
[elpa] externals/window-commander 09bb140ee3 096/170: * swsw.el (swsw-update): Use 'dotimes' instead of 'while' |
Date: |
Wed, 28 Jun 2023 19:00:29 -0400 (EDT) |
branch: externals/window-commander
commit 09bb140ee34c16b77bba93cdbe2563291d002dbf
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
* swsw.el (swsw-update): Use 'dotimes' instead of 'while'
---
swsw.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/swsw.el b/swsw.el
index 133ad2f929..9d33cdf27a 100644
--- a/swsw.el
+++ b/swsw.el
@@ -207,10 +207,9 @@ If set to ‘lighter’, use the mode line lighter of
‘swsw-mode’."
(set-keymap-parent swsw--id-map swsw-command-map)
(setq swsw--id-counter nil
swsw-window-count 0)
- (let ((acc 0) (len (swsw--get-id-length)))
- (while (< acc len)
- (push 0 swsw--id-counter)
- (setq acc (1+ acc))))
+ ;; Clear and resize ‘swsw--id-counter’ according to the ID length.
+ (dotimes (_var (swsw--get-id-length))
+ (push 0 swsw--id-counter))
(walk-windows #'swsw-update-window nil (swsw--get-scope)))
;;;; Display functions:
- [elpa] externals/window-commander 522bfb2da0 074/170: ; Add versioning scheme information to the NEWS file, (continued)
- [elpa] externals/window-commander 522bfb2da0 074/170: ; Add versioning scheme information to the NEWS file, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 3261f323e9 077/170: ; Bump version to 1.1.2, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ccf0d780a5 078/170: Add support for custom window commands, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander b10ff98f3d 079/170: Add a window deletion command, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 51fcc776bd 081/170: ; Reorganize swsw.el, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 69dfbd08de 083/170: ; Bump version to 2.0, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 8febd864f9 085/170: ; Remove old reference to 'swsw-minibuffer-id', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 220c023a2a 088/170: ; Update copyright years, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander c884983ae2 090/170: ; Fix makefile for OpenBSD, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 3882424448 099/170: ; Bump to version 2.0.2, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 09bb140ee3 096/170: * swsw.el (swsw-update): Use 'dotimes' instead of 'while',
ELPA Syncer <=
- [elpa] externals/window-commander 7db205a145 105/170: ; Change all instances of "‘" and "’" to "`" and "'" respectively, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 384dae5d45 128/170: ; Move local mode declaration to the top of NEWS, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander a0c339fbb4 118/170: ; Small documentation change, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 7d6968aa65 093/170: ; Bump version to 2.0.1, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ff38ec1c24 124/170: ; Bump required Emacs version to 27.1 due to 'window-state-change-hook', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 1c19d22100 108/170: ; Add links to relevant part of the manual to user options, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander af63260c0e 134/170: ; Update package URL to https://dsemy.com/projects/swsw, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 307b891692 127/170: ; Small fix in NEWS, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 6e036789af 103/170: ; Small Makefile modifications, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 2a8c7c6533 126/170: ; Document the bump to Emacs version 27.1, ELPA Syncer, 2023/06/28