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

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

[elpa] externals/which-key 6e4b4c5 36/51: Simplify last commit


From: Stefan Monnier
Subject: [elpa] externals/which-key 6e4b4c5 36/51: Simplify last commit
Date: Tue, 8 Sep 2020 10:26:20 -0400 (EDT)

branch: externals/which-key
commit 6e4b4c5419b7b981da6300302278de167f76126b
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>

    Simplify last commit
---
 which-key.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/which-key.el b/which-key.el
index e0b30de..312272c 100644
--- a/which-key.el
+++ b/which-key.el
@@ -1329,7 +1329,7 @@ width) in lines and characters respectively."
      ((not which-key-sort-uppercase-first)
       (let ((aup (not (string-equal da a)))
             (bup (not (string-equal db b))))
-        (if (or (and aup bup) (and (not aup) (not bup)))
+        (if (eq aup bup)
             (string-lessp a b)
           bup)))
      (t (string-lessp a b)))))



reply via email to

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