]> git.eshelyaron.com Git - emacs.git/commitdiff
(repeat): Make an undo boundary between repetitions.
authorRichard M. Stallman <rms@gnu.org>
Fri, 7 Aug 1998 07:57:53 +0000 (07:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 7 Aug 1998 07:57:53 +0000 (07:57 +0000)
lisp/repeat.el

index 318b3168fd3a0bd4bf73e519c8962f3ab4fde02f..4418043af4ceec3586b5d50de033c7ef75604fa2 100644 (file)
@@ -280,6 +280,8 @@ can be modified by the global variable `repeat-on-final-keystroke'."
       ;; can iterate indefinitely here around a single level of recursion.
       (let (repeat-on-final-keystroke)
         (while (eq (read-event) repeat-repeat-char)
+         ;; Make each repetition undo separately.
+         (undo-boundary)
           (repeat repeat-arg))
         (setq unread-command-events (list last-input-event))))))