Add autoload cookie to vc-git-grep

* lisp/vc/vc-git.el (vc-git-grep): Add autoload cookie.  (Bug#67018)
This commit is contained in:
Alyssa Ross 2023-11-09 15:46:30 +01:00 committed by Stefan Kangas
parent a66069c50c
commit e4e89e2cb6

View file

@ -1982,6 +1982,7 @@ This requires git 1.8.4 or later, for the \"-L\" option of \"git log\"."
(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.