From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How do I get rid of a face defined with defface?
Date: Sat, 20 Jul 2019 16:58:01 +0300 [thread overview]
Message-ID: <831ryku7ti.fsf@gnu.org> (raw)
In-Reply-To: <20190720131951.GA27030@ACM> (message from Alan Mackenzie on Sat, 20 Jul 2019 13:19:51 +0000)
> Date: Sat, 20 Jul 2019 13:19:51 +0000
> From: Alan Mackenzie <acm@muc.de>
>
> In CC Mode, some debug faces are generated with, e.g.,
>
> (defface c-debug-is-sws-face ....)
That line is commented out in the current sources. And
list-faces-display doesn't show it.
> . 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).
How to do what? get rid of a face that isn't defined in the first
place? You don't need to do anything, I think.
next prev parent reply other threads:[~2019-07-20 13:58 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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=831ryku7ti.fsf@gnu.org \
--to=eliz@gnu.org \
--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.