From 42ccb7c8674215790324797d7fa5873f65d3bcb5 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 17 Apr 2000 16:08:26 +0000 Subject: [PATCH] (read-passwd): Use read-char-exclusive. --- lisp/subr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "") -- 2.39.5