From 533cd988469588cd05637e222bc2b2441b2aad74 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 22 Jan 2019 15:35:44 +0100 Subject: Make (r)grep ignore output directories for mobile project --- emacs-stark | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'emacs-stark') 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" -- cgit v1.2.3-70-g09d2