summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-12-11 07:00:41 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2022-12-11 07:00:41 +0100
commitd2e5c5bd20c7c5aa68aa92a10bd7095a098b2e75 (patch)
treec0df06a46eee8c674bf4c805de318fd970caa42c
parentd53b2ae28bf21859dfd3c7601dd546b68eb61fbe (diff)
Rename corfu-async to async-completion-at-point-function
-rw-r--r--corfu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/corfu.el b/corfu.el
index fd6aa82..66f7d86 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1194,7 +1194,7 @@ Auto completion is only performed if the tick did not change."
(defun corfu--auto-capf-wrapper-async (fun callback)
"Call asynchronous capf FUN with CALLBACK."
- (when (and (symbolp fun) (get fun 'corfu-async))
+ (when (and (symbolp fun) (get fun 'async-completion-at-point-function))
(funcall fun callback)))
(defun corfu--capf-wrapper (fun &optional prefix)