bug#81560: 31.0.91; dframe-update-speed specifies :type integer

Daniel Mendler via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]> Wed, 05 Aug 2026 19:26:13 +0200
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Eli Zaretskii <[email protected]> writes:

>> Date: Wed, 05 Aug 2026 17:42:10 +0200
>> From: Daniel Mendler via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <[email protected]>
>> 
>> The speedbar uses the customizable variable `dframe-update-speed' to
>> check for updates. This variable has variable :type `integer' but
>> shorter delays are supported, e.g., 0.5. I suggest to change the
>> variable :type to `number'.
>
> Actually, 'number' is also inaccurate: the value can be in the format
> of the value returned by current-idle-time, because the value is
> passed to run-with-idle-timer.

So is there a type which you think is appropriate? What do we use for
other delays? In my packages I usually use `number' iirc.