General refactors & reformatting

This commit is contained in:
Henrik Lissner 2019-12-20 00:47:04 -05:00
parent de63dd50ef
commit 322bca710a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 15 additions and 15 deletions

View file

@ -245,12 +245,11 @@ If prefix ARG is set, prompt for a known project to search from."
(completing-read "Search project: " projects
nil t nil nil (doom-project-root))
(user-error "There are no known projects"))
default-directory))
(this-command
(cond ((featurep! :completion ivy) #'+ivy/project-search)
((featurep! :completion helm) #'+helm/project-search)
(#'projectile-ripgrep))))
(call-interactively this-command)))
default-directory)))
(call-interactively
(cond ((featurep! :completion ivy) #'+ivy/project-search)
((featurep! :completion helm) #'+helm/project-search)
(#'projectile-ripgrep)))))
;;;###autoload
(defun +default/search-other-project ()