diff options
| author | Richard M. Stallman | 2000-04-17 16:08:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2000-04-17 16:08:26 +0000 |
| commit | 42ccb7c8674215790324797d7fa5873f65d3bcb5 (patch) | |
| tree | 8afa63040d6e1a6e76e0a61e4843d058aa7fa203 | |
| parent | e61482c045a1914aa45cf8e44c800189a769540b (diff) | |
| download | emacs-42ccb7c8674215790324797d7fa5873f65d3bcb5.tar.gz emacs-42ccb7c8674215790324797d7fa5873f65d3bcb5.zip | |
(read-passwd): Use read-char-exclusive.
| -rw-r--r-- | lisp/subr.el | 2 |
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." | |||
| 884 | (while (progn (message "%s%s" | 884 | (while (progn (message "%s%s" |
| 885 | prompt | 885 | prompt |
| 886 | (make-string (length pass) ?.)) | 886 | (make-string (length pass) ?.)) |
| 887 | (setq c (read-char nil t)) | 887 | (setq c (read-char-exclusive nil t)) |
| 888 | (and (/= c ?\r) (/= c ?\n) (/= c ?\e))) | 888 | (and (/= c ?\r) (/= c ?\n) (/= c ?\e))) |
| 889 | (if (= c ?\C-u) | 889 | (if (= c ?\C-u) |
| 890 | (setq pass "") | 890 | (setq pass "") |