aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2012-10-23 12:57:31 -0400
committerStefan Monnier2012-10-23 12:57:31 -0400
commitd20d69c098377609caaafafbe98dc118ff8a6e77 (patch)
tree132d43f7573b19f9d2c04ad3b1a91038eab0d977 /lisp
parent7108f8e38a73bafbea34eafd385aba243fe56a37 (diff)
downloademacs-d20d69c098377609caaafafbe98dc118ff8a6e77.tar.gz
emacs-d20d69c098377609caaafafbe98dc118ff8a6e77.zip
* lisp/repeat.el (repeat): Set real-this-command.
Fixes: debbugs:12232
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/repeat.el4
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 16c4983d385..593b2a935b7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12012-10-23 Stefan Monnier <monnier@iro.umontreal.ca> 12012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * repeat.el (repeat): Set real-this-command (bug#12232).
4
3 * htmlfontify.el (hfy-post-html-hook): 5 * htmlfontify.el (hfy-post-html-hook):
4 * filesets.el (filesets-cache-fill-content-hook): 6 * filesets.el (filesets-cache-fill-content-hook):
5 * arc-mode.el (archive-extract-hook): 7 * arc-mode.el (archive-extract-hook):
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