From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How do I get rid of a face defined with defface? Date: Sat, 20 Jul 2019 16:58:01 +0300 Message-ID: <831ryku7ti.fsf@gnu.org> References: <20190720131951.GA27030@ACM> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="63126"; mail-complaints-to="usenet@blaine.gmane.org" 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:58:22 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 1hopsT-000GLS-O1 for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 15:58:21 +0200 Original-Received: from localhost ([::1]:51274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hopsS-0005s1-QO for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 09:58:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51741) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hopsP-0005rk-H7 for help-gnu-emacs@gnu.org; Sat, 20 Jul 2019 09:58:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hopsO-0005s7-Ad for help-gnu-emacs@gnu.org; Sat, 20 Jul 2019 09:58:17 -0400 Original-Received: from [176.228.60.248] (port=3038 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hopsK-0004zH-7A for help-gnu-emacs@gnu.org; Sat, 20 Jul 2019 09:58:14 -0400 In-reply-to: <20190720131951.GA27030@ACM> (message from Alan Mackenzie on Sat, 20 Jul 2019 13:19:51 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:121212 Archived-At: > Date: Sat, 20 Jul 2019 13:19:51 +0000 > From: Alan Mackenzie > > 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.