bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#32549: Allow passing custom options to vc-git-grep


From: Noam Postavsky
Subject: bug#32549: Allow passing custom options to vc-git-grep
Date: Mon, 27 Aug 2018 23:52:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Federico Tedin <address@hidden> writes:

> I'm wondering how I would set my custom arguments when the vc-git-grep
> function is called from another function. For example, the projectile
> package defines projectile-grep, which eventually calls rgrep or
> vc-git-grep [1] (depending on the user's choice).

It looks like you'd have to do

    (let ((current-prefix-arg '(4)))
      (vc-git-grep ...))





reply via email to

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