[Top][All Lists]

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

Re: Something like `without-redisplay'?

From: Eli Zaretskii
Subject: Re: Something like `without-redisplay'?
Date: Mon, 31 Aug 2015 17:23:10 +0300

> Date: Mon, 31 Aug 2015 11:49:56 +0200
> From: Alexander Shukaev <address@hidden>
> 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

reply via email to

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