[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swsw cf70d1d22c 071/146: ; Make an if statement more reada
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swsw cf70d1d22c 071/146: ; Make an if statement more readable |
Date: |
Wed, 25 May 2022 02:59:47 -0400 (EDT) |
branch: elpa/swsw
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)
- [nongnu] elpa/swsw 862d945bdb 101/146: ; Ignore Emacs' backup files, (continued)
- [nongnu] elpa/swsw 862d945bdb 101/146: ; Ignore Emacs' backup files, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 0a3edee2e5 055/146: ; Bump version to 1.1.1 and update NEWS file, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw f9f64e0559 060/146: * swsw.el (swsw--get-id-length): Return 1 when there is one window tracked, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 07f26210e8 086/146: ; Add 'swsw-delete' fix to the NEWS file, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8044341fdb 040/146: ; Update README to no longer suggest binding 'C-x o' in 'swsw-mode-map', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw cec8c4aacc 110/146: ; Edit docstrings to conform completely to 'checkdoc', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw f08caf6f0c 137/146: ; Add build manifest, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 1411a6314c 116/146: * swsw.el (swsw--update-window): Use 'when-let' instead of 'let' and 'when', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 53321ab4f2 069/146: ; Correct swsw-select's docstring, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 85d9c690b1 102/146: ; Add key binding to swsw-mode's docstring, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw cf70d1d22c 071/146: ; Make an if statement more readable,
ELPA Syncer <=
- [nongnu] elpa/swsw 7db205a145 105/146: ; Change all instances of "‘" and "’" to "`" and "'" respectively, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8a9686e0fe 111/146: ; Change required Emacs version according to package-lint, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8febd864f9 085/146: ; Remove old reference to 'swsw-minibuffer-id', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 03747300a3 082/146: ; Add missing 'Window commands' entry to the detailed node listing, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ff30079d41 075/146: ; Remove trailing period in a tag string of 'swsw-scope', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 2b43f66c82 145/146: ; Use 'kbd' instead of vector notation for 'define-key' example, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 5d1ea190ab 011/146: Only display a mode line lighter for tracked windows, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw bbe31e347c 146/146: ; Bump version to 2.1.1, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw b10ff98f3d 079/146: Add a window deletion command, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ddfed7b727 012/146: * swsw.el (swsw-mode): Add a sparse keymap., ELPA Syncer, 2022/05/25