emacs-devel
[Top][All Lists]
Advanced

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

Re: Testing redisplay code in batch


From: Stefan Monnier
Subject: Re: Testing redisplay code in batch
Date: Wed, 23 Sep 2020 09:30:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Have a look at .../tests/000tests.el in standalone CC Mode.  In
> particular, look at this function (which has been in place for ~18
> years):
>
> (defun cc-test-force-font-lock-buffer ()

Thanks.  But that only forces font-lock, not redisplay.
BTW, you could update your function to use `font-lock-ensure`
(in Emacsā‰„25).


        Stefan




reply via email to

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