emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] master f155c3c 06/14: Avoid the jit-lock-mode to kick in when


From: 陳侃如
Subject: Re: [elpa] master f155c3c 06/14: Avoid the jit-lock-mode to kick in when fontify code
Date: Wed, 16 Dec 2015 00:55:16 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>                              (delay-mode-hooks (funcall mode))
>>                              (setq font-lock-mode t)
>>                              (funcall font-lock-function font-lock-mode)
>> +                            (setq jit-lock-mode nil)
>>                              (current-buffer))))
>>                (with-current-buffer (prepare-buffer)
>>                  (let ((inhibit-read-only t))
>
> I get the strong impression that you want to use font-lock-ensure (when
> available).

I only submitted this patch to Leo Liu on github so it surprises me
you replied here. Took me awhile to find the context. Anyway, Leo is
the author, only he knows whether font-lock-ensure should be used here.

            Kanru



reply via email to

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