emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/swsw 4b308b978a 113/146: ; Move a comment slightly


From: ELPA Syncer
Subject: [nongnu] elpa/swsw 4b308b978a 113/146: ; Move a comment slightly
Date: Wed, 25 May 2022 02:59:53 -0400 (EDT)

branch: elpa/swsw
commit 4b308b978ad8ff79073bd17ebe710b9a1dab41f2
Author: Daniel Semyonov <daniel@dsemy.com>
Commit: Daniel Semyonov <daniel@dsemy.com>

    ; Move a comment slightly
---
 swsw.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/swsw.el b/swsw.el
index 3ec4742d5b..60e056bf5f 100644
--- a/swsw.el
+++ b/swsw.el
@@ -162,8 +162,7 @@ If set to `lighter', use a mode line lighter."
 (defun swsw--get-id-length ()
   "Return the current length of a window ID."
   (let ((windows (length (window-list-1 nil nil (swsw--get-scope)))))
-    ;; If there is only one window, return 1.
-    (if (= windows 1) 1
+    (if (= windows 1) 1 ; If there is only one window, return 1.
       (ceiling (log windows (length swsw-id-chars))))))
 
 (defun swsw--next-id ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]