[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: command to fontify whole buffer?
From: |
Lennart Borgman |
Subject: |
Re: command to fontify whole buffer? |
Date: |
Fri, 23 Sep 2011 00:34:58 +0200 |
On Thu, Sep 22, 2011 at 17:27, Alan Mackenzie <address@hidden> wrote:
> Hi, Drew.
>
> On Thu, Sep 22, 2011 at 07:56:52AM -0700, Drew Adams wrote:
>> > > `font-lock-fontify-buffer' doesn't do it.
>
>> > Are you sure? I thought it did, and looking again at the
>> > fine source, it does appear to.
>
>> No, I only think I'm sure. ;-)
Looking at the diagram I do not understand why the buffer does not get
fontified by font-lock-fontify-region (when it gets fontified by
jit-lock-fontify-now).
> #########################################################################
...
> | |->* jit-lock-fontify-now <----------------------------| |
> | jit-lock-functions (hook) | |
> v font-lock-fontify-region <------------------------+---+----|
> | [font-lock-fontify-region-function] (hook) | | |
> | * font-lock-default-fontify-region | | |
> | | | |
...
Re: command to fontify whole buffer?, Stefan Monnier, 2011/09/23