aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/elisp/search.el
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config/emacs/elisp/search.el')
-rw-r--r--Emacs/.config/emacs/elisp/search.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emacs/.config/emacs/elisp/search.el b/Emacs/.config/emacs/elisp/search.el
index 7522d6f..eccc050 100644
--- a/Emacs/.config/emacs/elisp/search.el
+++ b/Emacs/.config/emacs/elisp/search.el
@@ -53,7 +53,7 @@ Returns a list of files with the directory preprended to them."
(thread-last (+search/get-all-candidates)
(cl-remove-if #'directory-name-p)
(mapcar #'(lambda (x) (concat "\"" x "\" ")))
- (string-join)))
+ string-join))
(defun +search/search-all ()
(interactive)
@@ -61,7 +61,7 @@ Returns a list of files with the directory preprended to them."
(candidates (+search/-format-grep-candidates)))
(thread-last candidates
(format "grep --color=auto -nIHZe \"%s\" -- %s" term)
- (grep))
+ grep)
(next-error)))
(provide 'search)