aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Beaupré2019-06-25 12:58:36 +0200
committerLars Ingebrigtsen2019-06-25 13:10:07 +0200
commitba476dc975aa2a592a5246877d25e9dc2528cdc4 (patch)
treed7608084fad73c3e9a6b413d1e805357d184e1fe
parent8c17995f7f948955c765562f32526d0a3b87398e (diff)
downloademacs-ba476dc975aa2a592a5246877d25e9dc2528cdc4.tar.gz
emacs-ba476dc975aa2a592a5246877d25e9dc2528cdc4.zip
Add imenu support to package-menu-mode
* lisp/vc/vc-git.el (vc-git-grep-template): Include <C> 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
-rw-r--r--lisp/vc/vc-git.el3
1 files changed, 2 insertions, 1 deletions
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."
180 :type '(coding-system :tag "Coding system to decode Git log output") 180 :type '(coding-system :tag "Coding system to decode Git log output")
181 :version "25.1") 181 :version "25.1")
182 182
183(defcustom vc-git-grep-template "git --no-pager grep -n -e <R> -- <F>" 183(defcustom vc-git-grep-template "git --no-pager grep -n <C> -e <R> -- <F>"
184 "The default command to run for \\[vc-git-grep]. 184 "The default command to run for \\[vc-git-grep].
185The following place holders should be present in the string: 185The following place holders should be present in the string:
186 <C> - place to put the options like -i.
186 <F> - file names and wildcards to search. 187 <F> - file names and wildcards to search.
187 <R> - the regular expression searched for." 188 <R> - the regular expression searched for."
188 :type 'string 189 :type 'string