Skip to content

Commit 8bb1597

Browse files
committed
Rename func.
1 parent 6906152 commit 8bb1597

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ivy-file-preview.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ It could either by `project-directory' or `default-directory'")
105105
(memq ivy-file-preview--this-command '(ivy-searcher-search-file
106106
ivy-searcher-search-project)))
107107

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."
110110
(when (ivy-file-preview--ivy-searcher-p)
111111
(setq ivy-file-preview--first-cand-index
112112
(cl-position
@@ -204,7 +204,7 @@ If CURRENT-OV is non-nil it create overlay that are currently selected."
204204

205205
(defun ivy-file-preview--extract-candidates-overlay-data ()
206206
"Extract the overlay data from current ivy candidates."
207-
(ivy-file-preview--filter-candidates)
207+
(ivy-file-preview--init-ov-data)
208208
(let* ((fn (s-replace ivy-file-preview--current-dir "" ivy-file-preview--selected-file))
209209
(cands (ivy-file-preview--candidates))
210210
(cands-len (length cands)) current-cand entered ln-data

0 commit comments

Comments
 (0)