From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Can a face have different attributes in different buffers? Date: Mon, 24 Jan 2005 10:31:51 -0700 Message-ID: <35kpo7F4o06kjU2@individual.net> References: <87u0p9nhbu.fsf@thalassa.informatimago.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106588011 5010 80.91.229.6 (24 Jan 2005 17:33:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2005 17:33:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 24 18:33:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ct85e-0007pE-00 for ; Mon, 24 Jan 2005 18:33:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ct8Hr-0003dS-Kd for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Jan 2005 12:46:03 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-X-Trace: individual.net 6eGFl2q3LWO8kHwwusqUywYf6ym8r11a75XIhuQz81njxgpOY= User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:128091 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23586 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23586 Yevgeniy Makarov wrote: > (add-hook 'mail-mode-hook > '(lambda () > (make-local-variable 'font-lock-comment-face) > (setq font-lock-comment-face 'mail-quotation-face))) FYI, that can be shortened to (add-hook 'mail-mode-hook (lambda () (set (make-local-variable 'font-lock-comment-face) 'mail-quotation-face))) -- Kevin Rodgers