[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hi-lock and overlays (was: Conflicting overlays and the 'priority pr
From: |
Lennart Borgman |
Subject: |
Re: hi-lock and overlays (was: Conflicting overlays and the 'priority property) |
Date: |
Mon, 18 Jan 2010 22:51:23 +0100 |
On Mon, Jan 18, 2010 at 10:33 PM, Tassilo Horn <address@hidden> wrote:
> Hi all,
>
> I was wrong with my previous mail. The problem that hi-lock pattern on
> the current line are not highlighted, when `hl-line-mode' is enabled is
> not due to conflicting overlays. The problem is that hi-lock uses
> overlays only when the undocumented variable `font-lock-fontified' is
> nil (see `hi-lock-set-pattern'). Else, it uses normal fontification,
> and overlays (like the one for the current line created by
> `hl-line-mode') take precedence over that.
I would rather turn the question this way:
- Why can't an overlay have a priority that is lower than text?