Skip any "migrations" dirs with rgrep

This commit is contained in:
Tom Willemse 2013-06-10 22:21:56 +02:00
parent 48387787cf
commit 0b1080da69

View file

@ -1580,6 +1580,18 @@
(global-set-key (kbd "C-c d d") 'desktop-registry-change-desktop)
#+END_SRC
* Skip migrations directories
When rgrepping, be sure to skip any ~migrations/~ directory. So far
the only projects where this directory has shown up are django
projects that use south, and this means that usually I don't care
what they say.
#+BEGIN_SRC emacs-lisp
(stante-after grep
(add-to-list 'grep-find-ignored-directories "migrations"))
#+END_SRC
* All the rest
This still needs to be sorted out and documented, haven't had time