all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Alan Mackenzie <acm@muc.de>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: How do I get rid of a face defined with defface?
Date: Sat, 20 Jul 2019 17:56:16 -0400	[thread overview]
Message-ID: <CAM-tV-_VBxg-FjiDV6z+W-FA8=2KT-QRyv+xcWeVxe3TswR3xA@mail.gmail.com> (raw)
In-Reply-To: <20190720131951.GA27030@ACM>

On Sat, 20 Jul 2019 at 09:19, Alan Mackenzie <acm@muc.de> 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.



  parent reply	other threads:[~2019-07-20 21:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-20 13:19 How do I get rid of a face defined with defface? Alan Mackenzie
2019-07-20 13:58 ` Eli Zaretskii
2019-07-20 14:05   ` Stefan Monnier
2019-07-20 14:10     ` Eli Zaretskii
2019-07-20 21:56 ` Noam Postavsky [this message]
2019-07-21  2:30   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM-tV-_VBxg-FjiDV6z+W-FA8=2KT-QRyv+xcWeVxe3TswR3xA@mail.gmail.com' \
    --to=npostavs@gmail.com \
    --cc=acm@muc.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.