diff options
| author | Karl Heuer | 1998-12-16 20:51:34 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-12-16 20:51:34 +0000 |
| commit | acc81368d1094c022ca7b09fe44cfd4f6e57b2ec (patch) | |
| tree | 6536b0e00986c1cdc8eab38a689b748c3e60700a | |
| parent | 037eed4e5917d70f073c5f3904c461b1fb228df1 (diff) | |
| download | emacs-acc81368d1094c022ca7b09fe44cfd4f6e57b2ec.tar.gz emacs-acc81368d1094c022ca7b09fe44cfd4f6e57b2ec.zip | |
(read-passwd): Ignore input methods.
| -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 "") |