[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Something like `without-redisplay'?
From: |
Alexander Shukaev |
Subject: |
Re: Something like `without-redisplay'? |
Date: |
Mon, 31 Aug 2015 21:32:21 +0200 |
>> Can redisplay occur during command execution (in between of forms)?
>
> In general, no. Emacs only enters redisplay when it is idle and no
> input is available. But Lisp programs can trigger redisplay by
> calling some functions, like sit-for.
>
>> If yes, then wouldn't this produce nasty flickering in some cases
>> (especially when one manipulates point)?
>
> It depends on what the Lisp program does.
>
>> If all the above is true, then is there some form to protect the
>> code from running redisplay during its execution?
>>
>> (without-redisplay
>
> It's the default. Just don't anything that will forcefully trigger
> redisplay.
Thanks, Eli.