|
From: | Lennart Borgman (gmail) |
Subject: | run-with-idle-timer and sit-for/sleep-for |
Date: | Tue, 08 Jul 2008 02:10:34 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
I would like an idle timer to run during a sit-for: (defun temp-idle() (message "temp-idle")) (defun temp() (interactive) (message "temp a") (run-with-idle-timer 1 nil 'temp-idle) (sit-for 4) (message "temp b"))This does not work, but it would be great for testing. Is there any way to get it to work?
[Prev in Thread] | Current Thread | [Next in Thread] |