emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/consult a7db54eab5 1/2: consult--split-setup: Fix


From: ELPA Syncer
Subject: [elpa] externals/consult a7db54eab5 1/2: consult--split-setup: Fix
Date: Sat, 16 Jul 2022 01:57:25 -0400 (EDT)

branch: externals/consult
commit a7db54eab58d8859922ffdb07141f6466fd6079d
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    consult--split-setup: Fix
---
 consult-selectrum.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consult-selectrum.el b/consult-selectrum.el
index 3ff22276bd..706e0c6b78 100644
--- a/consult-selectrum.el
+++ b/consult-selectrum.el
@@ -71,7 +71,7 @@ and HIGHLIGHT."
   "Wrap candidates highlight/refinement ORIG function.
 The input is split by the SPLIT function."
   (lambda (str cands)
-    (funcall orig (cadr (funcall split str)) cands)))
+    (funcall orig (substring str (cadr (funcall split str))) cands)))
 
 (defun consult-selectrum--split-setup-adv (orig split)
   "Advice for `consult--split-setup' to be used by Selectrum.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]