emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

map-y-or-n does not use minibuffer-prompt face


From: Lennart Borgman (gmail)
Subject: map-y-or-n does not use minibuffer-prompt face
Date: Sun, 25 Feb 2007 14:36:47 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

The function `map-y-or-n-p' does not use minibuffer-prompt face.

To show this start Emacs with

   emacs -Q

then do

   M-x customize-face RET minibuffer-prompt RET

Set Foreground to red and click "Set for Current Session". Just to check that the prompt is colored do

   M-x

Cancel the prompt and then paste this code into the *Scratch* buffer and eval it:

  (map-y-or-n-p
   "Prompt should have minibuffer-prompt face, object=%s? "
   (function
    (lambda(object)
      (message "object=%s" object)))
   '("a" "b"))

The prompt will not be colored.


In GNU Emacs 22.0.94.1 (i386-mingw-nt5.1.2600)
 of 2007-02-24




reply via email to

[Prev in Thread] Current Thread [Next in Thread]