Subject: Re: bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings'

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 28 Oct 2020 09:00:28 +0100

Stefan Kangas <[email-masked]> writes:

>> Or to be more general, perhaps there should be a custom interval type?  Like
>>
>> (integer :minimum 1)
>>
>> ?
>>
>> Or just `natnum'?
>
> natnum sounds like it could be generally useful, yes.  We have plenty of
> customizable things that should never be negative.

Yeah, that's the most common numerical restriction (by far), and the few
variables that are numbers with other ranges can be done with a
defcustom predicate.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no