summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2000-04-17 16:08:26 +0000
committerRichard M. Stallman <rms@gnu.org>2000-04-17 16:08:26 +0000
commit42ccb7c8674215790324797d7fa5873f65d3bcb5 (patch)
tree8afa63040d6e1a6e76e0a61e4843d058aa7fa203 /lisp/subr.el
parente61482c045a1914aa45cf8e44c800189a769540b (diff)
downloademacs-42ccb7c8674215790324797d7fa5873f65d3bcb5.tar.gz
(read-passwd): Use read-char-exclusive.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index ddcc36079ed..88526bd98cc 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -884,7 +884,7 @@ Optional DEFAULT is a default password to use instead of empty input."
(while (progn (message "%s%s"
prompt
(make-string (length pass) ?.))
- (setq c (read-char nil t))
+ (setq c (read-char-exclusive nil t))
(and (/= c ?\r) (/= c ?\n) (/= c ?\e)))
(if (= c ?\C-u)
(setq pass "")