]> git.eshelyaron.com Git - emacs.git/commitdiff
(timer-event-handler): Save copies of events too.
authorRichard M. Stallman <rms@gnu.org>
Tue, 2 Apr 1996 15:14:29 +0000 (15:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 2 Apr 1996 15:14:29 +0000 (15:14 +0000)
lisp/timer.el

index 64f8764a3e4e291945c67a166307e61a103a05b2..ebf52a857904c7a146bbc8df4f39810fdfbb5022 100644 (file)
@@ -219,7 +219,7 @@ fire repeatedly that many seconds apart."
   (interactive "e")
   (setq timer-event-last-2 timer-event-last-1)
   (setq timer-event-last-1 timer-event-last)
-  (setq timer-event-last event)
+  (setq timer-event-last (cons event (copy-sequence event)))
   (let ((inhibit-quit t)
        (timer (car-safe (cdr-safe event))))
     (if (timerp timer)