Emacs: Fix missing argument to helm-do-grep-ag in helm-grep-git-or-ag

master
Pierre Neidhardt 2017-05-26 19:43:25 +02:00
parent d150fc39d9
commit de0ff031db
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ Requires `call-process-to-string' from `functions'."
(if (and (vc-find-root default-directory ".git")
(or arg (split-string (call-process-to-string "git" "ls-files" "-z") "\0" t)))
(helm-grep-do-git-grep arg)
(helm-do-grep-ag)))
(helm-do-grep-ag nil)))
(defun helm-grep-git-all-or-ag ()
"Run `helm-grep-do-git-grep' over all git files."