Fix wrong-number-of-args in project-search-from-cwd
This commit is contained in:
parent
4a7b821934
commit
ee11262aca
2 changed files with 4 additions and 6 deletions
|
@ -192,7 +192,7 @@ the search."
|
||||||
directory))
|
directory))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +helm/project-search-from-cwd (&optional arg initial-query directory)
|
(defun +helm/project-search-from-cwd (&optional arg initial-query)
|
||||||
"Performs a project search recursively from the current directory.
|
"Performs a project search recursively from the current directory.
|
||||||
|
|
||||||
Uses the first available search backend from `+helm-project-search-engines'. If
|
Uses the first available search backend from `+helm-project-search-engines'. If
|
||||||
|
@ -201,8 +201,7 @@ ARG (universal argument), include all files, even hidden or compressed ones."
|
||||||
(funcall (or (+helm--get-command "+helm/%s-from-cwd")
|
(funcall (or (+helm--get-command "+helm/%s-from-cwd")
|
||||||
#'+helm/grep-from-cwd)
|
#'+helm/grep-from-cwd)
|
||||||
arg
|
arg
|
||||||
initial-query
|
initial-query))
|
||||||
directory))
|
|
||||||
|
|
||||||
|
|
||||||
;; Relative to project root
|
;; Relative to project root
|
||||||
|
|
|
@ -364,7 +364,7 @@ the search."
|
||||||
directory))
|
directory))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +ivy/project-search-from-cwd (&optional arg initial-query directory)
|
(defun +ivy/project-search-from-cwd (&optional arg initial-query)
|
||||||
"Performs a project search recursively from the current directory.
|
"Performs a project search recursively from the current directory.
|
||||||
|
|
||||||
Uses the first available search backend from `+ivy-project-search-engines'. If
|
Uses the first available search backend from `+ivy-project-search-engines'. If
|
||||||
|
@ -373,8 +373,7 @@ ARG (universal argument), include all files, even hidden or compressed ones."
|
||||||
(funcall (or (+ivy--get-command "+ivy/%s-from-cwd")
|
(funcall (or (+ivy--get-command "+ivy/%s-from-cwd")
|
||||||
#'+ivy/grep-from-cwd)
|
#'+ivy/grep-from-cwd)
|
||||||
arg
|
arg
|
||||||
initial-query
|
initial-query))
|
||||||
directory))
|
|
||||||
|
|
||||||
|
|
||||||
;; Relative to project root
|
;; Relative to project root
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue