diff options
| -rw-r--r-- | which-key.el | 6 |
1 files changed, 3 insertions, 3 deletions
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'." | |||
| 1437 | one-match) | 1437 | one-match) |
| 1438 | (if pseudo-binding | 1438 | (if pseudo-binding |
| 1439 | pseudo-binding | 1439 | pseudo-binding |
| 1440 | (let* ((all-repls (or (cdr-safe | 1440 | (let* ((all-repls |
| 1441 | (assq major-mode which-key-replacement-alist)) | 1441 | (append (cdr-safe (assq major-mode which-key-replacement-alist)) |
| 1442 | which-key-replacement-alist))) | 1442 | which-key-replacement-alist))) |
| 1443 | (dolist (repl all-repls key-binding) | 1443 | (dolist (repl all-repls key-binding) |
| 1444 | (when (and (or which-key-allow-multiple-replacements | 1444 | (when (and (or which-key-allow-multiple-replacements |
| 1445 | (not one-match)) | 1445 | (not one-match)) |