From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: How do I get rid of a face defined with defface? Date: Sat, 20 Jul 2019 13:19:51 +0000 Message-ID: <20190720131951.GA27030@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="179673"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 20 15:20:01 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hopHN-000kc2-0M for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 15:20:01 +0200 Original-Received: from localhost ([::1]:51168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hopHM-0005SR-14 for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 09:20:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44973) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hopHI-0005S9-JR for help-gnu-emacs@gnu.org; Sat, 20 Jul 2019 09:19:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hopHH-0002gc-Nb for help-gnu-emacs@gnu.org; Sat, 20 Jul 2019 09:19:56 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:63889 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1hopHH-0002eI-Dm for help-gnu-emacs@gnu.org; Sat, 20 Jul 2019 09:19:55 -0400 Original-Received: (qmail 43108 invoked by uid 3782); 20 Jul 2019 12:27:27 -0000 Original-Received: from acm.muc.de (p2E5D5FE3.dip0.t-ipconnect.de [46.93.95.227]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 20 Jul 2019 14:27:27 +0200 Original-Received: (qmail 27065 invoked by uid 1000); 20 Jul 2019 13:19:51 -0000 Content-Disposition: inline X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121211 Archived-At: 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).