From: Richard M. Stallman Date: Mon, 17 Apr 2000 16:08:26 +0000 (+0000) Subject: (read-passwd): Use read-char-exclusive. X-Git-Tag: emacs-pretest-21.0.90~4216 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=42ccb7c8674215790324797d7fa5873f65d3bcb5;p=emacs.git (read-passwd): Use read-char-exclusive. --- 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 "")