1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-27 10:54:40 +00:00

(comint-read-noecho): Use read-char-exclusive' instead of read-char'.

This commit is contained in:
Richard M. Stallman 1994-11-01 01:30:16 +00:00
parent b30ec46658
commit af171fd0d4

View File

@ -1383,7 +1383,8 @@ applications."
(if stars
(message "%s%s" prompt (make-string (length ans) ?*))
(message prompt))
(setq c (read-char))
;; Use this instead of `read-char' to avoid "Non-character input-event".
(setq c (read-char-exclusive))
(cond ((= c ?\C-g)
;; This function may get called from a process filter, where
;; inhibit-quit is set. In later versions of emacs read-char