From ba476dc975aa2a592a5246877d25e9dc2528cdc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Antoine=20Beaupr=C3=A9?= Date: Tue, 25 Jun 2019 12:58:36 +0200 Subject: [PATCH] Add imenu support to package-menu-mode * lisp/vc/vc-git.el (vc-git-grep-template): Include in template to be more consistent with lgrep/rgrep (bug#35326). This will introduce the --color and -i flags to the "git grep" command. Copyright-paperwork-exempt: yes --- lisp/vc/vc-git.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 30ec712cfc1..f62e1083229 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -180,9 +180,10 @@ Should be consistent with the Git config value i18n.logOutputEncoding." :type '(coding-system :tag "Coding system to decode Git log output") :version "25.1") -(defcustom vc-git-grep-template "git --no-pager grep -n -e -- " +(defcustom vc-git-grep-template "git --no-pager grep -n -e -- " "The default command to run for \\[vc-git-grep]. The following place holders should be present in the string: + - place to put the options like -i. - file names and wildcards to search. - the regular expression searched for." :type 'string -- 2.39.5