.emacs-my
changeset 559 290aff3dde17
parent 558 bbced9833ed2
child 560 9ace43469185
--- a/.emacs-my	Sat Jan 15 17:44:42 2011 +0200
+++ b/.emacs-my	Sat Jan 15 17:53:29 2011 +0200
@@ -320,8 +320,10 @@
 (add-to-list 'grep-find-ignored-directories "dist" t)
 (add-to-list 'grep-find-ignored-directories "lib" t)
 
-(add-to-list 'grep-find-ignored-files "*TAGS")
-(add-to-list 'grep-find-ignored-files "GPATH")
+(when (and (>= emacs-major-version 23) (>= emacs-minor-version 2))
+  (add-to-list 'grep-find-ignored-files "*TAGS")
+  (add-to-list 'grep-find-ignored-files "GPATH")
+  )
 
 (global-set-key [M-f7] 'rgrep)