[Top][All Lists]

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

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

From: Stefan Monnier
Subject: Re: Is there something like `on-display-functions'?
Date: Thu, 28 Jan 2010 14:37:52 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

> As a zero order approximation, something like
> `before-display-functions', where an element would look like this:

>    (defun foo-before-display (buffer beg end) .....)

> , BEG and END defining the piece of BUFFER about to be displayed.  The
> hook would be called before fontification.  (Is it possible in general
> to determine BEG and END before fontification?).

That's exactly what jit-lock-register offers.


reply via email to

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