Skip to content

Commit f72a4a5

Browse files
committed
Removed unused.
1 parent c1a2b07 commit f72a4a5

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

isearch-project.el

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -120,31 +120,6 @@ LST : List you want to modified."
120120
(push (f-files dir fn) files))
121121
(jcs-flatten-list (reverse files))))
122122

123-
(defun isearch-project--filter-directory-files-recursively (lst)
124-
"Filter directory files.
125-
LST : Directory files."
126-
(let ((index 0) (path "") (ignored-paths '()))
127-
(setq ignored-paths (mapcar #'copy-sequence grep-find-ignored-directories))
128-
;; Add / at the end of each path.
129-
(while (< index (length ignored-paths))
130-
(setq path (nth index ignored-paths))
131-
(setq path (concat path "/"))
132-
(setf (nth index ignored-paths) path)
133-
(setq index (+ index 1)))
134-
135-
(setq ignored-paths (append ignored-paths isearch-project-ignore-paths))
136-
137-
(setq index 0)
138-
139-
(while (< index (length lst))
140-
(setq path (nth index lst))
141-
142-
;; Filter it.
143-
(if (isearch-project--is-contain-list-string ignored-paths path)
144-
(setq lst (isearch-project--remove-nth-element index lst))
145-
(setq index (+ index 1)))))
146-
lst)
147-
148123
(defun isearch-project-prepare ()
149124
"Incremental search preparation."
150125
(let ((prepare-success nil))

0 commit comments

Comments
 (0)