summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-02-07 21:45:37 -0500
committerKyle Meyer <kyle@kyleam.com>2014-02-07 21:45:37 -0500
commitfd6965614b9ecc88fc670bc6e6847a28a403390b (patch)
treef656a291be352a9d9f18d3fb4a9dd89bfdae2edf /lisp
parent11a4f5928e851c87b6c1cf1de8b9f73e9c43b9ab (diff)
downloademacs.d-fd6965614b9ecc88fc670bc6e6847a28a403390b.tar.gz
Autoload vc-git-grep
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 ()