branch: externals/which-key commit 6e4b4c5419b7b981da6300302278de167f76126b Author: Justin Burkett <jus...@burkett.cc> Commit: Justin Burkett <jus...@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)))))