summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-grep.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/init-grep.el b/lisp/init-grep.el
index a1d6dbf..530e712 100644
--- a/lisp/init-grep.el
+++ b/lisp/init-grep.el
@@ -1,3 +1,9 @@
+(autoload 'vc-git-grep "vc-git"
+ "Run git grep, searching for REGEXP in FILES in directory DIR.
+The search is limited to file names matching shell pattern FILES.
+FILES may use abbreviations defined in `grep-files-aliases', e.g.
+entering `ch' is equivalent to `*.[ch]'.")
+
;; http://stackoverflow.com/questions/16122801/
;; remove-header-information-from-rgrep-grep-output-in-emacs
(defun hide-grep-header ()