(double-translate-key): Call force-window-update after
authorKim F. Storm <storm@cua.dk>
Mon, 28 Feb 2005 22:49:46 +0000 (22:49 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 28 Feb 2005 22:49:46 +0000 (22:49 +0000)
read-event to avoid crash in redisplay.

lisp/double.el

index fc93199..c9c2720 100644 (file)
@@ -116,6 +116,7 @@ but not `C-u X' or `ESC X' since the X is not the prefix key."
           ;; End of generated event.  See if he will repeat it...
           (let ((new (double-read-event prompt))
                 (entry (assoc double-last-event double-map)))
+            (force-window-update (selected-window))
             (if (eq new double-last-event)
                 (progn
                   (setq unread-command-events