summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-03-05 08:32:50 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2023-03-05 08:32:50 +0100
commit44df3d98b7ef5b2e745124ea46c761fca9760140 (patch)
tree0169bc065d3c84744fdab8996e67f418f233e2db /extensions
parent78daeb84495f286e83ab7f05d7b18aa7c3c9fee2 (diff)
Use natnum custom type (supported by Compat 29.1.4.0)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/corfu-history.el2
-rw-r--r--extensions/corfu-indexed.el2
-rw-r--r--extensions/corfu-popupinfo.el8
3 files changed, 6 insertions, 6 deletions
diff --git a/extensions/corfu-history.el b/extensions/corfu-history.el
index 4046ae6..4a56830 100644
--- a/extensions/corfu-history.el
+++ b/extensions/corfu-history.el
@@ -43,7 +43,7 @@
(defcustom corfu-history-length nil
"Corfu history length."
- :type '(choice (const nil) integer)
+ :type '(choice (const nil) natnum)
:group 'corfu)
(defvar corfu-history--hash nil
diff --git a/extensions/corfu-indexed.el b/extensions/corfu-indexed.el
index 4143e6b..691c55d 100644
--- a/extensions/corfu-indexed.el
+++ b/extensions/corfu-indexed.el
@@ -50,7 +50,7 @@
(defcustom corfu-indexed-start 0
"Start of the indexing."
:group 'corfu
- :type 'integer)
+ :type 'natnum)
(defvar corfu-indexed--commands
'(corfu-insert corfu-complete)
diff --git a/extensions/corfu-popupinfo.el b/extensions/corfu-popupinfo.el
index f2ecde2..8bf7405 100644
--- a/extensions/corfu-popupinfo.el
+++ b/extensions/corfu-popupinfo.el
@@ -76,22 +76,22 @@ popup can be requested manually via `corfu-popupinfo-toggle',
(defcustom corfu-popupinfo-max-width 80
"The maximum width of the info popup in characters."
- :type 'integer
+ :type 'natnum
:group 'corfu)
(defcustom corfu-popupinfo-min-width 30
"The minimum width of the info popup in characters."
- :type 'integer
+ :type 'natnum
:group 'corfu)
(defcustom corfu-popupinfo-max-height 10
"The maximum height of the info popup in characters."
- :type 'integer
+ :type 'natnum
:group 'corfu)
(defcustom corfu-popupinfo-min-height 1
"The minimum height of the info popup in characters."
- :type 'integer
+ :type 'natnum
:group 'corfu)
(defcustom corfu-popupinfo-resize t