Subject: bug#59283: 29.0.50; `custom-set-faces' does not respect :height when set on start-up

From: Mickey Petersen <[email-masked]>
Date: Tue, 15 Nov 2022 13:45:44 +0000

On 15/11/2022 1:42 pm, Po Lu wrote:
> Mickey Petersen <[email-masked]> writes:
>
>> On 15/11/2022 12:57 pm, Po Lu wrote:
>>> Mickey Petersen <[email-masked]> writes:
>>>
>>>> Regression from Emacs 28.x.
>>>>
>>>> $ cat face-only-custom.el
>>>> (custom-set-faces '(default ((t (:background "black" :foreground
>>>> "gainsboro" :weight regular :height 173 :width normal :family "Cascadia
>>>> Code")))))
>>>>
>>>> Tested against the bleeding edge today:
>>>>
>>>> ./emacs -q --eval "$(cat ~/.emacs.d/face-only-custom.el)"
>>>>
>>>> This applies the font face and colours but _not_ height. Subsequent eval
>>>> will correctly apply `:height'.
>>>>
>>>> Note that this is _also_ the case when it is called through the custom
>>>> machinery; it is not required to demonstrate the issue though.
>>>>
>>>> Thanks
>>>>
>>>> Mickey.
>>> This should already be fixed on master.  Please test, thanks.
>> That did not appear to fix it.
>>
>> Mickey
> Thanks, please try again.
>

I can confirm this fixes the issue. Thanks for the quick turn-around, Po Lu.

Mickey.