summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-07-22 13:54:22 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2021-07-22 13:54:22 +0200
commit9e1d2fbc64ff2e80b5f879987b8ed7f9ad52abba (patch)
tree55bac01607e42dcbe05db929a5353a960198e171
parente1acb695198f4752c2c1b5f3023c853d83ed1104 (diff)
Fix defcustom
-rw-r--r--corfu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/corfu.el b/corfu.el
index 93c9f2d..c496287 100644
--- a/corfu.el
+++ b/corfu.el
@@ -67,7 +67,7 @@
(defcustom corfu-commit-predicate t
"Automatically commit the selected candidate if the predicate returns t."
- :type '(choice (const nil) (const t) 'function))
+ :type '(choice boolean (function :tag "Predicate function")))
(defcustom corfu-quit-at-boundary nil
"Automatically quit at completion field/word boundary.