unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: help-gnu-emacs@gnu.org
Subject: How do I get rid of a face defined with defface?
Date: Sat, 20 Jul 2019 13:19:51 +0000	[thread overview]
Message-ID: <20190720131951.GA27030@ACM> (raw)

Hello, Emacs.

In CC Mode, some debug faces are generated with, e.g., 

    (defface c-debug-is-sws-face ....)

.  Certain macros generate additional code when, e.g.,

    (facep 'c-debuf-is-sws-face)

holds.

I now want to turn off these debugging facilities, and to get these
macros to generate just the normal code, I need to get rid of the face
c-debug-is-sws-face.  I can't find any mention in the manual of how to
do this (this may be a manual bug), nor any statement that it is not
possible (again, a possible manual bug).

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

Thanks in advance for the help!

-- 
Alan Mackenzie (Nuremberg, Germany).



             reply	other threads:[~2019-07-20 13:19 UTC|newest]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20190720131951.GA27030@ACM \
    --to=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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).