aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Burkett2019-03-01 10:41:36 -0500
committerJustin Burkett2019-03-01 10:41:36 -0500
commit51c485f16b4724488bcf2cbf7933fbd9eede1edd (patch)
tree707c5943cecd9ca805bf60e80acfd4e1090c8e57
parent9c5922edbb9ba6d866ac169ea65f100bc96adf72 (diff)
downloademacs-51c485f16b4724488bcf2cbf7933fbd9eede1edd.tar.gz
emacs-51c485f16b4724488bcf2cbf7933fbd9eede1edd.zip
Don't ignore case when making replacements
Fixes #204
-rw-r--r--which-key.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/which-key.el b/which-key.el
index 70a6d18ae99..08f259d7ba5 100644
--- a/which-key.el
+++ b/which-key.el
@@ -1406,7 +1406,8 @@ local bindings coming first. Within these categories order using
1406 ;; handled in the selection of alist 1406 ;; handled in the selection of alist
1407 (when (and (consp key-binding) (not (symbolp (car replacement)))) 1407 (when (and (consp key-binding) (not (symbolp (car replacement))))
1408 (let ((key-regexp (caar replacement)) 1408 (let ((key-regexp (caar replacement))
1409 (binding-regexp (cdar replacement))) 1409 (binding-regexp (cdar replacement))
1410 case-fold-search)
1410 (and (or (null key-regexp) 1411 (and (or (null key-regexp)
1411 (string-match-p key-regexp 1412 (string-match-p key-regexp
1412 (car key-binding))) 1413 (car key-binding)))