diff --git a/which-key.el b/which-key.el index 21d159a448d..068c23cb5e6 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))