diff lisp/subr.el @ 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 ecdadc99bf8c
children a69df0269000 69e184bbba16
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) ?.))