1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(map-y-or-n-p): Apply minibuffer-prompt-properties.

This commit is contained in:
Kim F. Storm 2007-02-25 22:01:08 +00:00
parent 4b547e5acf
commit f7f2cc5da8

View file

@ -149,7 +149,8 @@ Returns the number of actions taken."
;; Prompt in the echo area.
(let ((cursor-in-echo-area (not no-cursor-in-echo-area))
(message-log-max nil))
(message "%s(y, n, !, ., q, %sor %s) "
(message (apply 'propertize "%s(y, n, !, ., q, %sor %s) "
minibuffer-prompt-properties)
prompt user-keys
(key-description (vector help-char)))
(if minibuffer-auto-raise