[Top][All Lists]

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

Re: priority of overlays vs text-properties

From: lawrence mitchell
Subject: Re: priority of overlays vs text-properties
Date: Thu, 05 Sep 2002 15:57:24 +0100
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2.90 (i386-mingw-windows98.2222)

Klaus Berndl wrote:

> Suppose i add a face with color "red" to a text "XXX" in
> current buffer.  Then i define an overlay and add a
> face-property to this overlay which has color "green". This
> overlay should cover the whole buffer (maybe senseless but it's
> just an example)!

> Ok, now my question: Is the text "XXX" (which has
> "red"-text-properties, see above) displayed now green or red?

/----[ Elisp manual (Info-goto-node "(elisp)Overlay Properties") ]
|      Currently, all overlays take priority over text properties.

So it seems the text would be green.

lawrence mitchell <address@hidden>

reply via email to

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