emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ba476dc 1/2: Add imenu support to package-menu-mode


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master ba476dc 1/2: Add imenu support to package-menu-mode
Date: Tue, 25 Jun 2019 07:10:14 -0400 (EDT)

branch: master
commit ba476dc975aa2a592a5246877d25e9dc2528cdc4
Author: Antoine Beaupré <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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
---
 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 30ec712..f62e108 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 <R> -- <F>"
+(defcustom vc-git-grep-template "git --no-pager grep -n <C> -e <R> -- <F>"
   "The default command to run for \\[vc-git-grep].
 The following place holders should be present in the string:
+ <C> - place to put the options like -i.
  <F> - file names and wildcards to search.
  <R> - the regular expression searched for."
   :type 'string



reply via email to

[Prev in Thread] Current Thread [Next in Thread]