Re: Is there something like `on-display-functions'?

From:

Alan Mackenzie

Subject:

Re: Is there something like `on-display-functions'?

Date:

Wed, 27 Jan 2010 14:55:44 +0000

User-agent:

Mutt/1.5.9i

Hi, Lennart,
On Wed, Jan 27, 2010 at 02:53:35PM +0100, Lennart Borgman wrote:
> On Wed, Jan 27, 2010 at 2:57 PM, Alan Mackenzie <address@hidden> wrote:
> > Is there some hook called each time something's about to be displayed
> > on the screen (regardless of whether or not font-lock is enabled)?
> > If there is, I could use it to apply the appropriate text properties
> > to C++ template delimiters as they're about to be displayed, thus
> > potentially speeding up startup for C++ (and like languages).
> > Yes, I've tried searching for it and not found it.
> Just curious, but why don't you want to use font-lock for it?
Because font-lock is merely a user option which not every user likes,
even though most do. There is, I believe, at least one Emacs developer
who runs Emacs without it.
--
Alan Mackenzie (Nuremberg, Germany).