help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: sleep-for does not work as expected - or perhaps my expection is inc


From: suvayu ali
Subject: Re: sleep-for does not work as expected - or perhaps my expection is incorrect
Date: Tue, 12 Jul 2011 19:44:27 +0200

On Tue, Jul 12, 2011 at 7:39 PM, PJ Weisberg
<pj@irregularexpressions.net> wrote:
> Your function *is* waiting one second before it writes out world--but
> Emacs is waiting for your function to finish before it tries to show
> any of the changes it's made to the buffer. :-)
>

(progn (message "Hello")(sleep-for 1)(message "world"))

This, for example, clearly shows that emacs is waiting.

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

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