diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-12-09 16:20:08 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-12-09 16:20:08 +0100 |
| commit | 53721b949b1f66aa35e04e9996ecc18eaf118322 (patch) | |
| tree | 0832fd326d3de370e4edb9b691fbe278bd3cfb03 | |
| parent | 2ac903940bf53490287c211c15699a5be300463e (diff) | |
Use corfu--capf-wrapper directly
| -rw-r--r-- | corfu.el | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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)) |
