Commit ccb9871d authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(repeat): Invoke pre-command-hook and post-command-hook.

parent 3d70f279
2005-04-16 Matt Hodges <> (tiny change)
* repeat.el (repeat): Invoke pre-command-hook and
2005-04-16 Chong Yidong <>
* filesets.el (filesets-add-buffer): If user supplies a name of a
......@@ -284,7 +284,9 @@ can be modified by the global variable `repeat-on-final-keystroke'."
;; does not alter it.
(let ((real-last-command real-last-command))
(execute-kbd-macro real-last-command))
(call-interactively real-last-command)))))
(run-hooks 'pre-command-hook)
(call-interactively real-last-command)
(run-hooks 'post-command-hook)))))
(when repeat-repeat-char
;; A simple recursion here gets into trouble with max-lisp-eval-depth
;; on long sequences of repetitions of a command like `forward-word'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment