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

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

Re: Can a face have different attributes in different buffers?


From: Johan Bockgård
Subject: Re: Can a face have different attributes in different buffers?
Date: Sun, 23 Jan 2005 03:19:59 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (usg-unix-v)

Pascal Bourguignon <spam@mouse-potato.com> writes:

> I don't think that's possible. Faces are referenced thru symbols.

The standard font lock faces are referenced through variables.

C-h v font-lock-comment-face RET =>

    font-lock-comment-face's value is 
    font-lock-comment-face

    Face name to use for comments.

    Defined in `font-lock'.


> Of course, since normal font-locking code refers the faces
> "literally" thru the symbols they use, you'd have to patch them or
> program your own font-locking.

It doesn't, though.

-- 
Johan Bockgård

reply via email to

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