[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/which-key d5a4273 35/51: Replace use of xor
From: |
Stefan Monnier |
Subject: |
[elpa] externals/which-key d5a4273 35/51: Replace use of xor |
Date: |
Tue, 8 Sep 2020 10:26:20 -0400 (EDT) |
branch: externals/which-key
commit d5a42732a6f39bb4284f378a6996aacecf888dc0
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>
Replace use of xor
Apparently this is a recent function
---
which-key.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/which-key.el b/which-key.el
index f7bab55..e0b30de 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 (not (xor aup bup))
+ (if (or (and aup bup) (and (not aup) (not bup)))
(string-lessp a b)
bup)))
(t (string-lessp a b)))))
- [elpa] externals/which-key 90d10a8 33/51: Fix sorting of keys and add test, (continued)
- [elpa] externals/which-key 90d10a8 33/51: Fix sorting of keys and add test, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 42a2505 14/51: Rework implementation of manual updating, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 0d0af8a 19/51: Strip out advice in command docstrings, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 190310d 30/51: Disable travis and cask, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key a135e6f 34/51: Change name of workflow, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key fcc509f 25/51: Update travis versions, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 6e4b4c5 36/51: Simplify last commit, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key ce25fb2 44/51: Add basic PR template, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 7b068f3 38/51: Fix case sorting in alpha sort functions, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 3401440 28/51: Fix workflow, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key d5a4273 35/51: Replace use of xor,
Stefan Monnier <=
- [elpa] externals/which-key cf44641 31/51: Replace travis badge with github workflow badge, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key d1dfddc 24/51: Refactor regexp & fix incompatibility + error, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key c47c72d 11/51: Cleanup whitespace in README, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key 1e3640e 18/51: Make next page hint more consistent, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key a66bf93 26/51: Try purcell's workflow action, Stefan Monnier, 2020/09/08
- [elpa] externals/which-key e48e190 46/51: Fix #257 (#258), Stefan Monnier, 2020/09/08