emacs-devel
[Top][All Lists]
Advanced

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

Re: Global Font Lock by default


From: Romain Francoise
Subject: Re: Global Font Lock by default
Date: Tue, 01 Nov 2005 12:56:05 +0100

Dan Nicolaescu <address@hidden> writes:

> When dumping this part of the font-lock-comment-face face
> specification matches: (t (:weight bold :slant italic)) so the face is
> created with bold and italic properties.

> later at run time face-spec-choose is called this will match:
> "((class color) (min-colors 8) (background light))"
> but because it specifies no properties face-spec-set returns nil =>
> face-spec-reset-face is not called in face-spec-set => the bold and
> italic attributes are kept...

Then perhaps `face-spec-set' should reset the face unconditionally if
there are no properties, instead of doing nothing?

-- 
Romain Francoise <address@hidden> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter




reply via email to

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