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

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

Re: How do I get rid of a face defined with defface?


From: Noam Postavsky
Subject: Re: How do I get rid of a face defined with defface?
Date: Sat, 20 Jul 2019 17:56:16 -0400

On Sat, 20 Jul 2019 at 09:19, Alan Mackenzie <address@hidden> wrote:

> .  Certain macros generate additional code when, e.g.,
>
>     (facep 'c-debuf-is-sws-face)
>
> holds.

> So, can I get rid of this face?  If so, how?  Whether or not, where is
> the spot in the manual saying so?

Based on the code that facep calls, I came up with this:

(setq face-new-frame-defaults
      (assq-delete-all 'c-debug-is-sws-face face-new-frame-defaults))

which seems to work.



reply via email to

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