Subject: Re: bug#67018: [PATCH] Add autoload cookie to vc-git-grep

From: Eli Zaretskii <[email-masked]>
Date: Thu, 09 Nov 2023 16:59:04 +0200

> From: Alyssa Ross <[email-masked]>
> Date: Thu,  9 Nov 2023 15:46:30 +0100
> 
> ---
>  lisp/vc/vc-git.el | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
> index 707fc7cfc07..fe48d5fbd3d 100644
> --- a/lisp/vc/vc-git.el
> +++ b/lisp/vc/vc-git.el
> @@ -1930,6 +1930,7 @@ vc-git-prepare-patch
>  (defvar compilation-environment)
>  
>  ;; Derived from `lgrep'.
> +;;;###autoload
>  (defun vc-git-grep (regexp &optional files dir)
>    "Run git grep, searching for REGEXP in FILES in directory DIR.
>  The search is limited to file names matching shell pattern FILES.

Thanks, but please explain the motivation.  Which package needs to
autoload this function and why?