|
From: | Deniz Dogan |
Subject: | Re: sleep-for does not work as expected - or perhaps my expection is incorrect |
Date: | Tue, 12 Jul 2011 19:24:28 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 |
On 2011-07-12 16:42, C K Kashyap wrote:
(defun somefun () (insert "Hello ") (sleep-for 1) (insert "world\n"))
The docstring for `sleep-for' says: "Pause, without updating display, for SECONDS seconds."
Throw a (redisplay t) after the first insertion and it should work. Deniz
[Prev in Thread] | Current Thread | [Next in Thread] |