* Re: [elpa] master f155c3c 06/14: Avoid the jit-lock-mode to kick in when fontify code
[not found] ` <E1a8b2v-0000lx-LQ@vcs.savannah.gnu.org>
@ 2015-12-15 4:36 ` Stefan Monnier
2015-12-15 16:55 ` Kan-Ru Chen (陳侃如)
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2015-12-15 4:36 UTC (permalink / raw)
To: emacs-devel; +Cc: Kan-Ru Chen
> (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).
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [elpa] master f155c3c 06/14: Avoid the jit-lock-mode to kick in when fontify code
2015-12-15 4:36 ` [elpa] master f155c3c 06/14: Avoid the jit-lock-mode to kick in when fontify code Stefan Monnier
@ 2015-12-15 16:55 ` Kan-Ru Chen (陳侃如)
0 siblings, 0 replies; 2+ messages in thread
From: Kan-Ru Chen (陳侃如) @ 2015-12-15 16:55 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Leo Liu, emacs-devel
Stefan Monnier <monnier@IRO.UMontreal.CA> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-15 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20151214215238.2849.38185@vcs.savannah.gnu.org>
[not found] ` <E1a8b2v-0000lx-LQ@vcs.savannah.gnu.org>
2015-12-15 4:36 ` [elpa] master f155c3c 06/14: Avoid the jit-lock-mode to kick in when fontify code Stefan Monnier
2015-12-15 16:55 ` Kan-Ru Chen (陳侃如)
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.