emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vertico aa6e7026b2: Use natnum custom type (supported b


From: ELPA Syncer
Subject: [elpa] externals/vertico aa6e7026b2: Use natnum custom type (supported by Compat 29.1.4.0)
Date: Sun, 5 Mar 2023 03:00:51 -0500 (EST)

branch: externals/vertico
commit aa6e7026b276f36baad0cf973186f9ea8e0ab8ed
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Use natnum custom type (supported by Compat 29.1.4.0)
---
 extensions/vertico-flat.el    | 2 +-
 extensions/vertico-grid.el    | 8 ++++----
 extensions/vertico-indexed.el | 2 +-
 vertico.el                    | 6 +++---
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/extensions/vertico-flat.el b/extensions/vertico-flat.el
index e319469c62..17502c7db0 100644
--- a/extensions/vertico-flat.el
+++ b/extensions/vertico-flat.el
@@ -43,7 +43,7 @@
 
 (defcustom vertico-flat-max-lines 1
   "Maximal number of lines to use."
-  :type 'integer
+  :type 'natnum
   :group 'vertico)
 
 (defcustom vertico-flat-format
diff --git a/extensions/vertico-grid.el b/extensions/vertico-grid.el
index 0420994f27..1bf48e3841 100644
--- a/extensions/vertico-grid.el
+++ b/extensions/vertico-grid.el
@@ -40,12 +40,12 @@
 
 (defcustom vertico-grid-min-columns 2
   "Minimal number of grid columns."
-  :type 'integer
+  :type 'natnum
   :group 'vertico)
 
 (defcustom vertico-grid-max-columns 8
   "Maximal number of grid columns."
-  :type 'integer
+  :type 'natnum
   :group 'vertico)
 
 (defcustom vertico-grid-separator
@@ -56,13 +56,13 @@
 
 (defcustom vertico-grid-rows 6
   "Number of grid rows."
-  :type 'integer
+  :type 'natnum
   :group 'vertico)
 
 (defcustom vertico-grid-lookahead 100
   "Number of candidates to lookahead for column number computation.
 When scrolling beyond this limit, candidates may be truncated."
-  :type 'integer
+  :type 'natnum
   :group 'vertico)
 
 (defvar-keymap vertico-grid-map
diff --git a/extensions/vertico-indexed.el b/extensions/vertico-indexed.el
index 9db4980ee4..3332d15095 100644
--- a/extensions/vertico-indexed.el
+++ b/extensions/vertico-indexed.el
@@ -43,7 +43,7 @@
 (defcustom vertico-indexed-start 0
   "Start of the indexing."
   :group 'vertico
-  :type 'integer)
+  :type 'natnum)
 
 (defvar vertico-indexed--commands
   '(vertico-insert vertico-exit vertico-directory-enter))
diff --git a/vertico.el b/vertico.el
index 8845d160c5..2e9731782b 100644
--- a/vertico.el
+++ b/vertico.el
@@ -6,7 +6,7 @@
 ;; Maintainer: Daniel Mendler <mail@daniel-mendler.de>
 ;; Created: 2021
 ;; Version: 1.1
-;; Package-Requires: ((emacs "27.1") (compat "29.1.3.4"))
+;; Package-Requires: ((emacs "27.1") (compat "29.1.4.0"))
 ;; Homepage: https://github.com/minad/vertico
 
 ;; This file is part of GNU Emacs.
@@ -60,7 +60,7 @@
 
 (defcustom vertico-count 10
   "Maximal number of candidates to show."
-  :type 'integer)
+  :type 'natnum)
 
 (defcustom vertico-preselect 'directory
   "Configure if the prompt or first candidate is preselected.
@@ -72,7 +72,7 @@
 (defcustom vertico-scroll-margin 2
   "Number of lines at the top and bottom when scrolling.
 The value should lie between 0 and vertico-count/2."
-  :type 'integer)
+  :type 'natnum)
 
 (defcustom vertico-resize resize-mini-windows
   "How to resize the Vertico minibuffer window, see `resize-mini-windows'."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]