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

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

Re: :family and :height in set-face-attribute


From: Eli Zaretskii
Subject: Re: :family and :height in set-face-attribute
Date: Mon, 24 Jun 2024 15:54:01 +0300

> Date: Mon, 24 Jun 2024 10:32:25 +0000
> From: Heime <heimeborgia@protonmail.com>
> 
> 
> I have the following command working
> 
> (buffer-face-mode-invoke
>   `(:family ,face-family :height ,(string-to-number face-height)) t)
> 
> But this one does not
> 
> (set-face-attribute 'default nil
>   :family face-family :height (string-to-number face-height))

Works for me.  But since you haven't shown the values of face-family
and face-height, it's hard to tell whether I reproduced what you do.



reply via email to

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