Helm: Remove helm-grep-git-grep-command redefinition since it's the new default.

master
Pierre Neidhardt 2019-10-15 19:19:32 +02:00
parent e510b89e9f
commit 80c915f1dd
1 changed files with 0 additions and 3 deletions

View File

@ -182,9 +182,6 @@
;;; https://github.com/emacs-helm/helm/issues/1118
;; (define-key helm-read-file-map (kbd "M-p") 'helm-ff-run-switch-to-history)
;;; Do not exclude any files from 'git grep'.
(setq helm-grep-git-grep-command "git --no-pager grep -n%cH --color=always --full-name -e %p -- %f")
(defun ambrevar/helm-grep-git-or-ag (arg)
"Run `helm-grep-do-git-grep' if possible; fallback to `helm-do-grep-ag' otherwise.
Requires `call-process-to-string' from `functions'."