summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2019-01-22 15:35:44 +0100
committerJoel Klinghed <the_jk@opera.com>2019-01-22 15:35:44 +0100
commit533cd988469588cd05637e222bc2b2441b2aad74 (patch)
tree02d7be2d1553b1d617772566e18022706767d825
parent6a3f59fd3e9f4b855d23e3ee220346ee9ba3ef1f (diff)
Make (r)grep ignore output directories for mobile project
-rw-r--r--emacs-stark6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs-stark b/emacs-stark
index 9b9d21f..67254ae 100644
--- a/emacs-stark
+++ b/emacs-stark
@@ -244,6 +244,12 @@
'(setf (cdr (assoc "ch" grep-files-aliases))
(cdr (assoc "cchh" grep-files-aliases))))
+;; make sure grep skips unimportant things
+(eval-after-load "grep"
+ '(progn
+ (add-to-list 'grep-find-ignored-directories "out_gradle")
+ (add-to-list 'grep-find-ignored-directories "bin")))
+
(c-add-style
"common c"
'("gnu"