Skip to content

Commit 039a078

Browse files
committed
Fixed not getting cand correctly
1 parent 7406433 commit 039a078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ivy-file-preview.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ If CURRENT-OV is non-nil it create overlay that are currently selected."
242242
cand-fn (results '()) break (index 0))
243243
(while (and (not break) (< index cands-len))
244244
(setq current-cand (nth index cands)
245-
ln-data (split-string current-cand ":")
245+
ln-data (ivy-file-preview--read-selection current-cand)
246246
cand-fn (nth 0 ln-data))
247247
(if (string= cand-fn fn)
248248
(progn

0 commit comments

Comments
 (0)