From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.help Subject: Re: How do I get rid of a face defined with defface? Date: Sat, 20 Jul 2019 17:56:16 -0400 Message-ID: References: <20190720131951.GA27030@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="77895"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Help Gnu Emacs mailing list To: Alan Mackenzie Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 20 23:56:41 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 1hoxLM-000KBv-WD for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 23:56:41 +0200 Original-Received: from localhost ([::1]:53748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoxLM-0001Hg-2r for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 17:56:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41056) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoxLH-00018T-HE for help-gnu-emacs@gnu.org; Sat, 20 Jul 2019 17:56:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hoxLG-0003jb-HK for help-gnu-emacs@gnu.org; Sat, 20 Jul 2019 17:56:35 -0400 Original-Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]:43070) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hoxLG-0003j1-Cp for help-gnu-emacs@gnu.org; Sat, 20 Jul 2019 17:56:34 -0400 Original-Received: by mail-ot1-x333.google.com with SMTP id j11so12130805otp.10 for ; Sat, 20 Jul 2019 14:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IbWGezvJvjnnKLmLJHbFS73M+hm41FJ7V/00BK09DhI=; b=aGFu0qnvMKl6PGFYTi5ZBHoSH7l8p4dcyoW0M1L567qUlN7GI0NRjT7Xgi3lBkQIpr jeCvXSfPVFPkDACJb9+eisHSyVb4/WjAQpn4U+KGXV5VyCaEuVgE67wF3gAxjsugN3aK Zck2nbzO/3gkgXoEJojl5HqOhSGU0iNE8irjmUFwsSjmqvBcR/DH3Jtqdv6ArmyQ9aAD T0yFMWesskm4s5MxVHfNS598fiTbADjCtfIInS+gqWo6HOiALMtuh32tE+ibusnOMo40 UhlOe2L7R81prJERk2M2XlzrCvbGDfJ4OeckU2HAyR2OR8BKyDmursMblmddelRQUL1P rTHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IbWGezvJvjnnKLmLJHbFS73M+hm41FJ7V/00BK09DhI=; b=VDBrq+cI04t5rXfwTVn5ZusdoRdpgKHcP1VoWHtQkiP5wzoDEjoV6w1Igx3/nSwJic /Bo30dBT2QtLOQQvov1okGX+M04Eyim95xgwxO4XlIDUsSWRZuhVrN7mTUr4uP5ra1ku /XBram9yay3soeqnW6vtdNX4KUxxPOLu2Y/9NRZmGT/W5KrpJldef/sA2oBw/1e3rlw2 fx/matmf8oYO4WEh8cTwXzl5nhVkVOyhhBxuywvmYxwpSBPqPvKM3iMnEG1R+Svhckrv +ptnwVppHf8dUedoH4YdTRzKtz87XcoB0RdzNJit1FWO+G8Yb/RS23AMmh0DSc2ZoMPp 0lGA== X-Gm-Message-State: APjAAAVrIyofvsV+7UEicqi1wJIpi/sTiolUuJkXfuToQUDkFgYqedNo bYL8OQimFGnRM5MoMZvaAQsXAWoIi3tJZg+YqVKOvrlk X-Google-Smtp-Source: APXvYqxGY8/4rfdGNpVe+eRQeueNt/8aj0PtVtBBKkaKlOCRAjHFYJJYwUrN5EwGpX+0m/9UIvMTCDCU5+5/3QFCyR0= X-Received: by 2002:a9d:6644:: with SMTP id q4mr37259011otm.308.1563659793488; Sat, 20 Jul 2019 14:56:33 -0700 (PDT) In-Reply-To: <20190720131951.GA27030@ACM> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::333 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:121215 Archived-At: On Sat, 20 Jul 2019 at 09:19, Alan Mackenzie 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.