summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--corfu.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/corfu.el b/corfu.el
index a6d1804..744e073 100644
--- a/corfu.el
+++ b/corfu.el
@@ -385,11 +385,10 @@ settings `corfu-auto-delay', `corfu-auto-prefix' and
(defun corfu--capf-wrapper (fun &optional prefix)
"Wrapper for `completion-at-point' FUN.
-The wrapper determines if the Capf is applicable at the current
-position and performs sanity checking on the returned result.
-For non-exclusive Capfs wrapper additionally checks if the
-current input can be completed successfully. PREFIX is a prefix
-length override, set to t for manual completion."
+The wrapper determines if the Capf is applicable at the current position
+and performs sanity checking on the returned result. For non-exclusive
+Capfs, the wrapper checks if the current input can be completed. PREFIX
+is a prefix length override, which is t for manual completion."
(pcase (funcall fun)
((and res `(,beg ,end ,table . ,plist))
(and (integer-or-marker-p beg) ;; Valid Capf result