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