From 80c915f1dd667b82766a5fd825757f0f7bb472b6 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 15 Oct 2019 19:19:32 +0200 Subject: [PATCH] Helm: Remove helm-grep-git-grep-command redefinition since it's the new default. --- .emacs.d/lisp/init-helm.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/.emacs.d/lisp/init-helm.el b/.emacs.d/lisp/init-helm.el index b4dbe3eb..7590b3d5 100644 --- a/.emacs.d/lisp/init-helm.el +++ b/.emacs.d/lisp/init-helm.el @@ -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'."