mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix repeating complex commands
* lisp/repeat.el (repeat): Fix repeating complex commands (bug#46290). This makes `M-: date RET C-x z' work again (like in Emacs 21, apparently).
This commit is contained in:
parent
f06acf752a
commit
7016db933c
1 changed files with 1 additions and 3 deletions
|
|
@ -239,9 +239,7 @@ recently executed command not bound to an input event\"."
|
|||
(car (memq last-command-event
|
||||
(listify-key-sequence
|
||||
repeat-on-final-keystroke))))))
|
||||
(if (memq last-repeatable-command '(exit-minibuffer
|
||||
minibuffer-complete-and-exit
|
||||
self-insert-and-exit))
|
||||
(if (eq last-repeatable-command (caar command-history))
|
||||
(let ((repeat-command (car command-history)))
|
||||
(repeat-message "Repeating %S" repeat-command)
|
||||
(eval repeat-command))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue