From: Eli Zaretskii Date: Sat, 19 Nov 2005 12:49:59 +0000 (+0000) Subject: (read-passwd): Fontify the prompt as we do with other prompts. X-Git-Tag: emacs-pretest-22.0.90~5774 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a4b1de6e8d435b66bcb5217642ed80404c7d04f9;p=emacs.git (read-passwd): Fontify the prompt as we do with other prompts. --- 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) ?.))