[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/window-commander cf70d1d22c 071/170: ; Make an if state
From: |
ELPA Syncer |
Subject: |
[elpa] externals/window-commander cf70d1d22c 071/170: ; Make an if statement more readable |
Date: |
Wed, 28 Jun 2023 19:00:27 -0400 (EDT) |
branch: externals/window-commander
commit cf70d1d22caf5fde02e9b1732ac3a14d86ad5312
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
; Make an if statement more readable
---
swsw.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/swsw.el b/swsw.el
index 5a8d542245..235c1504f8 100644
--- a/swsw.el
+++ b/swsw.el
@@ -70,7 +70,7 @@
"Set the variable ‘swsw-id-chars’.
Check that the new list has at least two elements, set SYM’s value to
CHARS, and call ‘swsw-update’."
- (if (> 2 (length chars))
+ (if (< (length chars) 2)
(user-error
"‘swsw-id-chars’ should contain at least two characters")
(set-default sym chars)
- [elpa] externals/window-commander c08a9b1e58 024/170: ; Fix a docstring, (continued)
- [elpa] externals/window-commander c08a9b1e58 024/170: ; Fix a docstring, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 5addab5009 027/170: ; Fix installing swsw.el as a package, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 2d2edca2c3 029/170: ; Add 'Usage:' section to the commentary, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander a5b25e075f 032/170: Allow setting the scope to the selected frame, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 2002152fb7 023/170: ; Add .gitignore file, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 5937f8bc6e 043/170: ; Update .gitignore to ignore some build artifacts, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander d5ab98b9db 044/170: ; Bump version to 1.1, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 04ace20d03 063/170: ; Fix indentation and compact structure in some places, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander eba70478e0 065/170: Update window information after 'swsw-scope' is customized, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander d195e574c0 066/170: ; Add latest changes to the news file, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander cf70d1d22c 071/170: ; Make an if statement more readable,
ELPA Syncer <=
- [elpa] externals/window-commander b3e00165f2 073/170: ; Add latest changes to the NEWS file and indicate that 1.1.2 is WIP, ELPA Syncer, 2023/06/28
- [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