diff options
| -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 46939a0b4ad..1f042f24cd3 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -803,7 +803,7 @@ Optional DEFAULT is a default password to use instead of empty input." | |||
| 803 | (while (progn (message "%s%s" | 803 | (while (progn (message "%s%s" |
| 804 | prompt | 804 | prompt |
| 805 | (make-string (length pass) ?.)) | 805 | (make-string (length pass) ?.)) |
| 806 | (setq c (read-char)) | 806 | (setq c (read-char nil t)) |
| 807 | (and (/= c ?\r) (/= c ?\n) (/= c ?\e))) | 807 | (and (/= c ?\r) (/= c ?\n) (/= c ?\e))) |
| 808 | (if (= c ?\C-u) | 808 | (if (= c ?\C-u) |
| 809 | (setq pass "") | 809 | (setq pass "") |