branch: externals/consult
commit 09c252060914a3c0cd8a5cee5116f67123c0b937
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    consult--multi-lookup: Add todo comment (See #539)
---
 consult.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/consult.el b/consult.el
index 946ea39e35..078f945e40 100644
--- a/consult.el
+++ b/consult.el
@@ -2304,6 +2304,8 @@ INHERIT-INPUT-METHOD, if non-nil the minibuffer inherits 
the input method."
       (let* ((tofu (consult--tofu-p (aref cand (1- (length cand)))))
              (source (if tofu
                          (consult--multi-source sources cand)
+                       ;; TODO Use narrowed source here or fallback to source
+                       ;; with :default=t. Take source 0 only as last resort.
                        (aref sources 0))))
         `(,(if tofu (substring cand 0 -1) cand)
           :new t :action ,(plist-get source :new) ,@source)))))

Reply via email to