From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ryan Yeske Newsgroups: gmane.emacs.devel Subject: Re: need a way to override defface? Date: Mon, 09 Jul 2007 19:46:41 -0700 Message-ID: <87wsx9nffy.fsf@tarn.lan> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184035611 19419 80.91.229.12 (10 Jul 2007 02:46:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Jul 2007 02:46:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 10 04:46:50 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I85kX-0006sj-Bs for ged-emacs-devel@m.gmane.org; Tue, 10 Jul 2007 04:46:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I85kW-00084R-PX for ged-emacs-devel@m.gmane.org; Mon, 09 Jul 2007 22:46:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I85kU-000840-4x for emacs-devel@gnu.org; Mon, 09 Jul 2007 22:46:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I85kS-00083m-BZ for emacs-devel@gnu.org; Mon, 09 Jul 2007 22:46:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I85kS-00083j-5s for emacs-devel@gnu.org; Mon, 09 Jul 2007 22:46:44 -0400 Original-Received: from mail.tor.primus.ca ([216.254.136.21] helo=smtp-06.primus.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I85kR-0002cP-PP for emacs-devel@gnu.org; Mon, 09 Jul 2007 22:46:43 -0400 Original-Received: from dsl-209.90.181.71.vancouver.primus.ca ([209.90.181.71] helo=tarn.lan) by smtp-06.primus.ca with esmtp (Exim 4.43) id 1I85kQ-0003nU-LP; Mon, 09 Jul 2007 22:46:42 -0400 In-Reply-To: X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74536 Archived-At: "Drew Adams" writes: > `setq' will override a value already given to a variable by `defvar' or > `defcustom', but is there a way to override a face already defined by > `defface'? Interactively, you can use `C-M-x' on another `defface' to > override the previous definition, but how can you do that programmatically > (without resorting to `eval-defun')? > > If there is no good way to do this, how about adding one? What about the set-face-* functions? Ryan