File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ It could either by `project-directory' or `default-directory'")
105
105
(memq ivy-file-preview--this-command '(ivy-searcher-search-file
106
106
ivy-searcher-search-project)))
107
107
108
- (defun ivy-file-preview--filter-candidates ()
109
- " Filter possible candidates for overlays."
108
+ (defun ivy-file-preview--init-ov-data ()
109
+ " Initialize overlays data ."
110
110
(when (ivy-file-preview--ivy-searcher-p)
111
111
(setq ivy-file-preview--first-cand-index
112
112
(cl-position
@@ -204,7 +204,7 @@ If CURRENT-OV is non-nil it create overlay that are currently selected."
204
204
205
205
(defun ivy-file-preview--extract-candidates-overlay-data ()
206
206
" Extract the overlay data from current ivy candidates."
207
- (ivy-file-preview--filter-candidates )
207
+ (ivy-file-preview--init-ov-data )
208
208
(let* ((fn (s-replace ivy-file-preview--current-dir " " ivy-file-preview--selected-file))
209
209
(cands (ivy-file-preview--candidates))
210
210
(cands-len (length cands)) current-cand entered ln-data
You can’t perform that action at this time.
0 commit comments