help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: composing faces


From: Perry Smith
Subject: Re: composing faces
Date: Fri, 17 Nov 2006 14:16:43 -0600

On Nov 17, 2006, at 1:08 PM, David Abrahams wrote:


Is there a way to define a new face that's exactly like some other
face, except for certain changes?  For example, I'd like to build a
face that's exactly font-lock-variable-name-face, except that it's
always italic.

(copy-face 'font-lock-variable-name-face 'my-new-face)
(set-face-attribute 'my-new-face nil :italic t)


HTH,
Perry Smith ( pedz@easesoftware.com )
Ease Software, Inc. ( http://www.easesoftware.com )

Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems



reply via email to

[Prev in Thread] Current Thread [Next in Thread]