Added exclude pattern to 'grep-find-ignored-directories'.
--- a/.emacs-my Wed Jan 12 12:25:01 2011 +0200
+++ b/.emacs-my Fri Jan 14 12:05:17 2011 +0200
@@ -299,6 +299,8 @@
;;; ----------------------------------------------------------------
;;; grep, find.
+;; (require 'grep)
+
;; This settings have effect from Emacs 22.x.
(when (eq system-type 'windows-nt)
;; Workaround for Cygwin shell, when set 'CYGWIN=noglob'. By default 'shell-quote-argument'
@@ -314,6 +316,10 @@
(setq grep-highlight-matches nil)
(setq grep-use-null-device nil)
+(add-to-list 'grep-find-ignored-directories "build" t)
+(add-to-list 'grep-find-ignored-directories "dist" t)
+(add-to-list 'grep-find-ignored-directories "lib" t)
+
(global-set-key [M-f7] 'rgrep)
;;; ----------------------------------------------------------------