diff lisp/repeat.el @ 22935:9c6f6af7919f

(repeat): Make an undo boundary between repetitions.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Aug 1998 07:57:53 +0000
parents 1fd9b569c5b4
children 7fd17414e625
line wrap: on
line diff
--- a/lisp/repeat.el	Fri Aug 07 07:23:07 1998 +0000
+++ b/lisp/repeat.el	Fri Aug 07 07:57:53 1998 +0000
@@ -280,6 +280,8 @@
       ;; 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))))))