changeset 2022:9a765951a9b9

(comint-dynamic-list-completions): Handle any event when flushing the display.
author Richard M. Stallman <rms@gnu.org>
date Sat, 06 Mar 1993 05:56:08 +0000
parents 8b9286bffef8
children 019308ed8918
files lisp/comint.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Sat Mar 06 05:54:29 1993 +0000
+++ b/lisp/comint.el	Sat Mar 06 05:56:08 1993 +0000
@@ -1093,10 +1093,10 @@
 	       (display-completion-list completions))
 	     (sit-for 0)
 	     (message "Hit space to flush")
-	     (let ((ch (read-char)))
+	     (let ((ch (read-event)))
 	       (if (= ch ?\ )
 		   (set-window-configuration conf)
-		   (setq unread-command-events (list ch)))))))))
+		 (setq unread-command-events (list ch)))))))))
 
 ;;; Converting process modes to use comint mode
 ;;; ===========================================================================