Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d20d69c0
Commit
d20d69c0
authored
Oct 23, 2012
by
Stefan Monnier
Browse files
* lisp/repeat.el (repeat): Set real-this-command.
Fixes: debbugs:12232
parent
7108f8e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/repeat.el
lisp/repeat.el
+4
-0
No files found.
lisp/ChangeLog
View file @
d20d69c0
2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
* repeat.el (repeat): Set real-this-command (bug#12232).
* htmlfontify.el (hfy-post-html-hook):
* filesets.el (filesets-cache-fill-content-hook):
* arc-mode.el (archive-extract-hook):
...
...
lisp/repeat.el
View file @
d20d69c0
...
...
@@ -289,6 +289,10 @@ recently executed command not bound to an input event\"."
(
interactive
)
(
let
((
repeat-message-function
fun
))
(
setq
this-command
'repeat
)
;; Beware: messing with `real-this-command' is *bad*, but we
;; need it so `last-repeatable-command' can be recognized
;; later (bug#12232).
(
setq
real-this-command
'repeat
)
(
call-interactively
'repeat
))))))
map
)))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment