[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/which-key d9122c4 7/8: Always check non-major-mode repl
From: |
Stefan Monnier |
Subject: |
[elpa] externals/which-key d9122c4 7/8: Always check non-major-mode replacements in which-key--maybe-replace |
Date: |
Mon, 7 Sep 2020 16:26:58 -0400 (EDT) |
branch: externals/which-key
commit d9122c48b2b702d42cf044cbb80fde2c7caf5869
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>
Always check non-major-mode replacements in which-key--maybe-replace
---
which-key.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/which-key.el b/which-key.el
index 21d159a..068c23c 100644
--- a/which-key.el
+++ b/which-key.el
@@ -1437,9 +1437,9 @@ which are strings. KEY is of the form produced by
`key-binding'."
one-match)
(if pseudo-binding
pseudo-binding
- (let* ((all-repls (or (cdr-safe
- (assq major-mode which-key-replacement-alist))
- which-key-replacement-alist)))
+ (let* ((all-repls
+ (append (cdr-safe (assq major-mode which-key-replacement-alist))
+ which-key-replacement-alist)))
(dolist (repl all-repls key-binding)
(when (and (or which-key-allow-multiple-replacements
(not one-match))
- [elpa] branch externals/which-key created (now 9c5922e), Stefan Monnier, 2020/09/07
- [elpa] externals/which-key 013cdb7 1/8: Make Travis test on v26.1, Stefan Monnier, 2020/09/07
- [elpa] externals/which-key ace569b 3/8: Check for existence of buffer in which-key--popup-showing-p, Stefan Monnier, 2020/09/07
- [elpa] externals/which-key 2f56616 5/8: Version 3.3.1, Stefan Monnier, 2020/09/07
- [elpa] externals/which-key 3b184d6 6/8: Simplify finding and matching replacements, Stefan Monnier, 2020/09/07
- [elpa] externals/which-key c938bbf 2/8: Mention #130 in README, Stefan Monnier, 2020/09/07
- [elpa] externals/which-key 43e3e3d 4/8: Fix use of describe-prefix-bindings in which-key-show-standard-help, Stefan Monnier, 2020/09/07
- [elpa] externals/which-key 9c5922e 8/8: Version 3.3.2, Stefan Monnier, 2020/09/07
- [elpa] externals/which-key d9122c4 7/8: Always check non-major-mode replacements in which-key--maybe-replace,
Stefan Monnier <=