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

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

Re: Setting the background color of the minibuffer


From: Eli Zaretskii
Subject: Re: Setting the background color of the minibuffer
Date: Wed, 10 Dec 2014 19:03:37 +0200

> From: Óscar Fuentes <ofv@wanadoo.es>
> Date: Wed, 10 Dec 2014 17:24:22 +0100
> 
> > Did you try face-remapping?
> 
> Yes. Something like this:
> 
> Starting from
> 
> http://stackoverflow.com/questions/12654592/change-the-background-color-of-the-minibuffer-when-input-is-needed
> 
> where the solution is:
> 
> (add-hook 'minibuffer-setup-hook
>           (lambda ()
>             (make-local-variable 'face-remapping-alist)
>             (add-to-list 'face-remapping-alist
>                          '(default (:background "green")))))
> 
> 
> That works as advertised: the background changes when you are working on
> the minibuffer.
> 
> However, I want the background changed permanently.

Doesn't it work to do that in just the minibuffer buffers, specified
by their names?




reply via email to

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