emacs-devel
[Top][All Lists]
Advanced

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

Re: tab-line-tab-modified: cool feature... not yet there


From: Juri Linkov
Subject: Re: tab-line-tab-modified: cool feature... not yet there
Date: Mon, 27 Sep 2021 18:41:24 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> I'm really excited with this tab-line-tab-modified customizable face. In my
> case I have two themes, which I use depending on the light conditions (one
> dark and one light) and I have a function to switch themes, very much as
> explained in
>
> https://stackoverflow.com/questions/23793288/cycle-custom-themes-w-emacs-24
>
> Now, what I see is that the font isn't changed if I call customize-face
> from lisp (i.e. in my code) It does, however, when I call it interactively
> (M-x customize-face). That looks really weird to me.
>
> Any help appreciated...

It's not clear how do you call customize-face, but this has no problems:

  (set-face-foreground 'tab-line-tab-modified "darkgreen")

This is how I switch faces depending on the light conditions.



reply via email to

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