emacs-devel
[Top][All Lists]
Advanced

[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: Fri, 29 Jan 2010 13:13:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

> jit-lock-register's function only gets called when font lock is enabled,

No: jit-lock has nothing to do with font-lock, except for the fact that
font-lock is its main client (and that historically jit-lock was written
only for font-lock), so it's naturally tuned towards serving font-lock
better than other potential clients.

I.e. jit-lock-register's function will be called regardless of whether
font-lock is enabled or not.

> or at least that's what the fine manual says and the doc string implies.

The docstring doesn't mention font-lock.


        Stefan




reply via email to

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