From 9ab792649a4f76f4a1c6051995b0c1a5e25035f2 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 21 Dec 2011 01:15:21 +0000 Subject: [PATCH] ignore specific folders within ruby projects in eproject and ack --- custom-variables.el | 2 +- project-definitions.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom-variables.el b/custom-variables.el index ecb360a..99d9c65 100644 --- a/custom-variables.el +++ b/custom-variables.el @@ -4,7 +4,7 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(ac-menu-height 15) - '(ack-arguments (quote ("--ignore-dir=vendor/ruby" "--ignore-dir=vendor/bundle"))) + '(ack-arguments (quote ("--ignore-dir=vendor/ruby" "--ignore-dir=vendor/bundle" "--ignore-dir=coverage" "--ignore-dir=docs" "--ignore-dir=doc"))) '(ack-project-root-file-patterns (quote (".project\\'" ".xcodeproj\\'" ".sln\\'" "\\`Project.ede\\'" "\\`.git\\'" "\\`.bzr\\'" "\\`_darcs\\'" "\\`.hg\\'" "\\`Gemfile\\'" "\\`Rakefile\\'"))) '(ack-prompt-for-directory (quote unless-guessed)) '(aquamacs-additional-fontsets nil t) diff --git a/project-definitions.el b/project-definitions.el index a68a213..7ab0f8c 100644 --- a/project-definitions.el +++ b/project-definitions.el @@ -2,7 +2,7 @@ (define-project-type ruby (generic) (or (look-for "Rakefile") (look-for "Gemfile") (look-for "config.ru") (look-for "\.gemspec$") (look-for "Capfile")) - :irrelevant-files ("^[#]" ".git/" "vendor/" "coverage/" + :irrelevant-files ("^[#]" ".git/" "vendor/" "coverage/" "doc/" "docs/" "\.DS_Store")) (define-project-type node-js (generic)