diff options
Diffstat (limited to 'lisp/repeat.el')
| -rw-r--r-- | lisp/repeat.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/repeat.el b/lisp/repeat.el index e38442a434b..a6c803ae773 100644 --- a/lisp/repeat.el +++ b/lisp/repeat.el | |||
| @@ -289,6 +289,10 @@ recently executed command not bound to an input event\"." | |||
| 289 | (interactive) | 289 | (interactive) |
| 290 | (let ((repeat-message-function fun)) | 290 | (let ((repeat-message-function fun)) |
| 291 | (setq this-command 'repeat) | 291 | (setq this-command 'repeat) |
| 292 | ;; Beware: messing with `real-this-command' is *bad*, but we | ||
| 293 | ;; need it so `last-repeatable-command' can be recognized | ||
| 294 | ;; later (bug#12232). | ||
| 295 | (setq real-this-command 'repeat) | ||
| 292 | (call-interactively 'repeat)))))) | 296 | (call-interactively 'repeat)))))) |
| 293 | map))))) | 297 | map))))) |
| 294 | 298 | ||