]> git.eshelyaron.com Git - emacs.git/commitdiff
(repeat): Invoke pre-command-hook and post-command-hook.
authorEli Zaretskii <eliz@gnu.org>
Sat, 16 Apr 2005 15:28:10 +0000 (15:28 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Apr 2005 15:28:10 +0000 (15:28 +0000)
lisp/ChangeLog
lisp/repeat.el

index b8c35544cc84792f748ebf83ef371b3e4f34cb25..3d2e37b25d7a89ee436b5bcfa0ad4465a6f101ee 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-16  Matt Hodges  <MPHodges@member.fsf.org>  (tiny change)
+
+       * repeat.el (repeat): Invoke pre-command-hook and
+       post-command-hook.
+
 2005-04-16  Chong Yidong  <cyd@stupidchicken.com>
 
        * filesets.el (filesets-add-buffer): If user supplies a name of a
index aa73c869675a7248000691fbf350b53e6caf549d..5f0811d355c9575e2f17a1f28eef8131834b9f22 100644 (file)
@@ -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'