summaryrefslogtreecommitdiff
path: root/doc/lispref/customize.texi
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-09-25 01:15:49 +0200
committerStefan Kangas <stefan@marxist.se>2021-09-25 04:15:22 +0200
commitf1071bf08e246d0820edfb66163acb65e90d9482 (patch)
treee2c504fdd28bf79b57ea1edc644d668877cfb360 /doc/lispref/customize.texi
parent988428df7d1fc071bea5fbe7ed696f4bf62f3b5c (diff)
downloademacs-f1071bf08e246d0820edfb66163acb65e90d9482.tar.gz
emacs-f1071bf08e246d0820edfb66163acb65e90d9482.tar.bz2
emacs-f1071bf08e246d0820edfb66163acb65e90d9482.zip
New :type natnum for defcustom
* lisp/wid-edit.el (natnum): New widget type. (Bug#15809) * doc/lispref/customize.texi (Simple Types): Document it.
Diffstat (limited to 'doc/lispref/customize.texi')
-rw-r--r--doc/lispref/customize.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi
index bc35982c172..b93b8bc015a 100644
--- a/doc/lispref/customize.texi
+++ b/doc/lispref/customize.texi
@@ -594,6 +594,9 @@ want to take the time to work out a more specific type to use.
@item integer
The value must be an integer.
+@item natnum
+The value must be a nonnegative integer.
+
@item number
The value must be a number (floating point or integer).