branch: elpa/anzu
commit acfd0a49dee0eeb51c9022fbc30d770080a5e0e7
Author: Matus Goljer <[email protected]>
Commit: Matus Goljer <[email protected]>
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"