HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b30ec46
)
(comint-read-noecho): Use `read-char-exclusive' instead of `read-char'.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 1 Nov 1994 01:30:16 +0000
(
01:30
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 1 Nov 1994 01:30:16 +0000
(
01:30
+0000)
lisp/comint.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/comint.el
b/lisp/comint.el
index
3cb4231
..
3c5a3db
100644
(file)
--- a/
lisp/comint.el
+++ b/
lisp/comint.el
@@
-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