emacs-devel
[Top][All Lists]
Advanced

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

Re: How do I give an overlay a priority lower to that of hl-line-mode?


From: Stefan Monnier
Subject: Re: How do I give an overlay a priority lower to that of hl-line-mode?
Date: Tue, 31 May 2016 16:28:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> What alternatives do I have? (In fact, do I have any?)

Alternatives:
- use text-properties instead of overlays.
- undocumented and tentatively added in recentish Emacsen you can use
  a priority of the form (nil . -100).  Which means: normal priority nil
  in general, but priority -100 when the normal priority rules (which
  look at the relative size of overlays) don't have a preference
  use -100.
- use a negative priority.


        Stefan




reply via email to

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