7 Feb 2002 00:08
Re: sit-for considered harmful in kbd-macros
Al Petrofsky <al <at> petrofsky.org>
2002-02-06 23:08:25 GMT
2002-02-06 23:08:25 GMT
> From: "Stefan Monnier" <monnier+gnu/emacs <at> RUM.cs.yale.edu> > > 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 _______________________________________________ Emacs-devel mailing list Emacs-devel <at> gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel



-- David Weinehall in linux-kernel
_______________________________________________
Emacs-devel mailing list
Emacs-devel <at> gnu.org
RSS Feed