summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-12-09 16:20:08 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2021-12-09 16:20:08 +0100
commit53721b949b1f66aa35e04e9996ecc18eaf118322 (patch)
tree0832fd326d3de370e4edb9b691fbe278bd3cfb03
parent2ac903940bf53490287c211c15699a5be300463e (diff)
Use corfu--capf-wrapper directly
-rw-r--r--corfu.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/corfu.el b/corfu.el
index 89f0c50..b134744 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1100,8 +1100,7 @@ there hasn't been any input, then quit."
(when (and (not completion-in-region-mode)
(eq (current-buffer) buffer))
(pcase (while-no-input ;; Interruptible capf query
- (run-hook-wrapped 'completion-at-point-functions
- #'completion--capf-wrapper 'all))
+ (run-hook-wrapped 'completion-at-point-functions #'corfu--capf-wrapper))
((and `(,fun ,beg ,end ,table . ,plist)
(guard (integer-or-marker-p beg))
(guard (<= beg (point) end))