branch: externals/agitate commit 8bb7652cacd78fb05a6c33232aec1949a319ec42 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Rename to agitate-vc-git-grep --- README.org | 4 ++-- agitate.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 10fea286d5..6cebf5132f 100644 --- a/README.org +++ b/README.org @@ -158,8 +158,8 @@ think most of those are superfluous. Less is more. :CUSTOM_ID: h:f1a1f462-b6db-415a-b8e6-ba23788cb6e3 :END: -#+findex: agitate-git-grep -+ ~agitate-git-grep~ :: Run ~git-grep(1)~ for =REGEXP= in +#+findex: agitate-vc-git-grep ++ ~agitate-vc-git-grep~ :: Run ~git-grep(1)~ for =REGEXP= in ~vc-root-dir~. This is a simple wrapper around ~vc-git-grep~ to streamline the basic task of searching for a regexp in the current Git repository. Use the original ~vc-git-grep~ for its other diff --git a/agitate.el b/agitate.el index 5116cec958..34d036c6a5 100644 --- a/agitate.el +++ b/agitate.el @@ -261,7 +261,7 @@ to the text at point." ;;;; Commands for vc-git (Git backend for the Version Control framework) ;;;###autoload -(defun agitate-git-grep (regexp) +(defun agitate-vc-git-grep (regexp) "Run `git-grep(1)' for REGEXP in `vc-root-dir'. This is a simple wrapper around `vc-git-grep' to streamline the basic task of searching for a regexp in the current Git