emacs-devel
[Top][All Lists]
Advanced

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

Re: sit-for considered harmful in kbd-macros


From: Al Petrofsky
Subject: Re: sit-for considered harmful in kbd-macros
Date: Wed, 6 Feb 2002 15:08:25 -0800

> From: "Stefan Monnier" <monnier+gnu/address@hidden>
> 
> How about short-circuiting sit-for when called from a kbd-macro,
> as if input was pending ?

> +  if (detect_input_pending_run_timers (display) || !NILP (Vexecuting_macro))
>      return Qnil;

I'm pretty sure that's inappropriate when the argument to sit-for is
non-zero, so the code should check for that.  (After all, what fun
would C-x ( M-` t g t C-u C-x ) be if it did no redisplay?)

-al



reply via email to

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