emacs-devel
[Top][All Lists]
Advanced

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

Re: Revamping sit-for


From: Chong Yidong
Subject: Re: Revamping sit-for
Date: Fri, 07 Jul 2006 21:39:20 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Drew Adams" <address@hidden> writes:

> Excuse me if I'm misunderstanding, but how can you change the signature of
> sit-for in a way that breaks existing code? IIUC, it is changing from
>
>   (sit-for seconds)
>   (sit-for seconds milliseconds)
>   (sit-for seconds milliseconds nodisp)
>
> to
>
>   (sit-for seconds)
>   (sit-for seconds nodisp)
>   (sit-for seconds nodisp obsolete)
>
> That means that existing calls that use the milliseconds arg will be newly
> interpreted to consider that arg as a no-display arg, no?

No.  If the third argument is non-nil, it uses the old behavior.  But
this is considered an obsolete behavior, so it is only briefly
explained in the docstring; all this is identical to the current
behavior.




reply via email to

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