Fix execute-extended-command-for-buffer in fundamental-mode
* lisp/simple.el (execute-extended-command-for-buffer): Protect against the current local map being nil (bug#52907).
This commit is contained in:
parent
ef0c1d4c2c
commit
ba57b78064
1 changed files with 2 additions and 2 deletions
|
@ -2296,8 +2296,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
|
||||
|
|
Loading…
Add table
Reference in a new issue