From 5fc23aa2839bf7392c83ae3a032d7a05c9cc2ff2 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Sun, 9 Nov 2025 08:52:56 +0100 Subject: cape-wrap-choose: Add comment --- cape.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cape.el b/cape.el index 7726be0..cfeb83a 100644 --- a/cape.el +++ b/cape.el @@ -1025,6 +1025,9 @@ Usually you want to add multiple non-exclusive Capfs to the variable (pt (- (point) beg)) (pred (plist-get plist :predicate)) (md (completion-metadata (substring str 0 pt) table pred))) + ;; NOTE: Treat the Capfs always as non-exclusive. Return the first which + ;; returns a non-nil result. See the comment in `corfu--capf-wrapper' + ;; for further considerations. (and (completion-try-completion str table pred pt md) result)))))) -- cgit v1.0