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

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

[nongnu] elpa/anzu acfd0a49de 246/288: Threshold has to be nil or number


From: ELPA Syncer
Subject: [nongnu] elpa/anzu acfd0a49de 246/288: Threshold has to be nil or number.
Date: Thu, 6 Jan 2022 03:58:57 -0500 (EST)

branch: elpa/anzu
commit acfd0a49dee0eeb51c9022fbc30d770080a5e0e7
Author: Matus Goljer <goljer@logio.cz>
Commit: Matus Goljer <goljer@logio.cz>

    Threshold has to be nil or number.
    
    It makes little sense to set `t', in fact, it causes an error because
    the check looks for non-nil and then assumes it's a number.
---
 anzu.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/anzu.el b/anzu.el
index 1e37c2ad74..4d0cf62f22 100644
--- a/anzu.el
+++ b/anzu.el
@@ -60,12 +60,12 @@
 (defcustom anzu-search-threshold nil
   "Limit of search number"
   :type '(choice (integer :tag "Threshold of search")
-                 (boolean :tag "No threshold" nil)))
+                 (const :tag "No threshold" nil)))
 
 (defcustom anzu-replace-threshold nil
   "Limit of replacement overlays."
   :type '(choice (integer :tag "Threshold of replacement overlays")
-                 (boolean :tag "No threshold" nil)))
+                 (const :tag "No threshold" nil)))
 
 (defcustom anzu-use-migemo nil
   "Flag of using migemo"



reply via email to

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