]> git.eshelyaron.com Git - emacs.git/commitdiff
(map-y-or-n-p): Apply minibuffer-prompt-properties.
authorKim F. Storm <storm@cua.dk>
Sun, 25 Feb 2007 22:01:08 +0000 (22:01 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 25 Feb 2007 22:01:08 +0000 (22:01 +0000)
lisp/emacs-lisp/map-ynp.el

index c40f1cf9b3acda2975c3bfdefa104fc9b5b22b12..d14394b97a0b8c5e05db08c153ba14b34467b87f 100644 (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