[Top][All Lists]

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

Re: Fwd: Flymake and the 'face' property

From: Eli Zaretskii
Subject: Re: Fwd: Flymake and the 'face' property
Date: Tue, 29 Jan 2019 21:17:54 +0200

> From: Johan Bockgård <address@hidden>
> Cc: João Távora <address@hidden>,
>   address@hidden
> Date: Tue, 29 Jan 2019 19:34:08 +0100
> > A 'face' property is documented for general use only for text, not for
> > symbol plists.
> The `category' feature for text/overlays uses symbol plists to define
> its default properties. `face' is probably one the more common
> properties to use in a category. Let's see...
> ...a few minutes later, I find this in rng-valid.el:
> (defface rng-error '((t (:inherit font-lock-warning-face)))
> [...]
> (overlay-put overlay 'category 'rng-error)
> [...]
> (put 'rng-error 'face 'rng-error)

I don't see how this contradicts what I said.  Do you?

reply via email to

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