branch: elpa/anzu
commit 9574e8140f7ec35c148d440f850d0303f76fd377
Merge: 324c3e2db4 acfd0a49de
Author: Syohei YOSHIDA <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #76 from Fuco1/bugfix/fix-customize-type
Threshold has to be nil or 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"