changeset 67012:6b634736fd83

(read-passwd): Fontify the prompt as we do with other prompts.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 19 Nov 2005 12:49:30 +0000
parents 57d5f3eaca9f
children f263dd2ed52d
files lisp/subr.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Sat Nov 19 12:18:37 2005 +0000
+++ b/lisp/subr.el	Sat Nov 19 12:49:30 2005 +0000
@@ -1541,6 +1541,8 @@
 	    (c 0)
 	    (echo-keystrokes 0)
 	    (cursor-in-echo-area t))
+	(add-text-properties 0 (length prompt)
+			     minibuffer-prompt-properties prompt)
 	(while (progn (message "%s%s"
 			       prompt
 			       (make-string (length pass) ?.))