diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/simple.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index dcc385c7ec6..801a3c992c8 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2306,8 +2306,8 @@ maps." (let* ((execute-extended-command--last-typed nil) (keymaps ;; The major mode's keymap and any active minor modes. - (cons - (current-local-map) + (nconc + (and (current-local-map) (list (current-local-map))) (mapcar #'cdr (seq-filter |