mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 16:30:46 -08:00
Always check non-major-mode replacements in which-key--maybe-replace
This commit is contained in:
parent
3b184d6f0c
commit
d9122c48b2
1 changed files with 3 additions and 3 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue