[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings'
From: |
Lars Ingebrigtsen |
Subject: |
bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings' |
Date: |
Wed, 28 Oct 2020 09:00:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> 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