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

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

bug#54156: 28.0.91; set-face-attribute with a nil FRAME doesn't change t


From: Lars Ingebrigtsen
Subject: bug#54156: 28.0.91; set-face-attribute with a nil FRAME doesn't change the default
Date: Sat, 26 Feb 2022 16:04:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> So we need a special trick to override defface with 'unspecified', and
> that trick is this call:
>
>   (set-face-attribute 'region t :background 'unspecified)
>
> This is handled specially in internal-set-lisp-face-attribute to do
> what Damien wants.

So perhaps set-face-attribute should do that automatically when handed a
nil value?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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