help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Possible to alter the "M-x" string that is displayed when M-x is pre


From: Bob Proulx
Subject: Re: Possible to alter the "M-x" string that is displayed when M-x is pressed to enter a command?
Date: Fri, 5 Jul 2013 17:40:04 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Emanuel Berg wrote:
> Chris Seberino writes:
> >> (set-face-foreground 'minibuffer-prompt nil)
> >
> > nil gave an error for me
> 
> For me, it works - I get the default face (cyan - `M-x
> describe-face default') - but - why set it to nil, instead of the
> color of your choice?

Because then it uses the default face which I have already set
elsewhere.  Keeping it DRY - Don't Repeat Yourself.  I already set the
color I wanted in one location.  I don't want to set that color again
in an additional location.  :-)

Bob



reply via email to

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