From ee11262acabfd24b4fbc044ed9ee1a35bc177df2 Mon Sep 17 00:00:00 2001 From: Andrew Whatson Date: Tue, 16 Apr 2019 23:31:23 +1000 Subject: [PATCH] Fix wrong-number-of-args in project-search-from-cwd --- modules/completion/helm/autoload/helm.el | 5 ++--- modules/completion/ivy/autoload/ivy.el | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/completion/helm/autoload/helm.el b/modules/completion/helm/autoload/helm.el index 21a60525b..b7b1729e1 100644 --- a/modules/completion/helm/autoload/helm.el +++ b/modules/completion/helm/autoload/helm.el @@ -192,7 +192,7 @@ the search." directory)) ;;;###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. 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") #'+helm/grep-from-cwd) arg - initial-query - directory)) + initial-query)) ;; Relative to project root diff --git a/modules/completion/ivy/autoload/ivy.el b/modules/completion/ivy/autoload/ivy.el index 741bf7ae7..db6fb2bd2 100644 --- a/modules/completion/ivy/autoload/ivy.el +++ b/modules/completion/ivy/autoload/ivy.el @@ -364,7 +364,7 @@ the search." directory)) ;;;###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. 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") #'+ivy/grep-from-cwd) arg - initial-query - directory)) + initial-query)) ;; Relative to project root