From a4b1de6e8d435b66bcb5217642ed80404c7d04f9 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 19 Nov 2005 12:49:59 +0000 Subject: [PATCH] (read-passwd): Fontify the prompt as we do with other prompts. --- lisp/ChangeLog | 5 +++++ lisp/subr.el | 2 ++ 2 files changed, 7 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 304628cef5c..04d341fbfd9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-11-19 Michael Cadilhac (tiny change) + + * subr.el (read-passwd): Fontify the prompt as we do with other + prompts. + 2005-11-19 Ryan Yeske * ffap.el (ffap-menu-rescan): Use inhibit-read-only instead of diff --git a/lisp/subr.el b/lisp/subr.el index 26a741f91e4..778f52abff4 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1541,6 +1541,8 @@ by doing (clear-string STRING)." (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) ?.)) -- 2.39.5