summaryrefslogtreecommitdiffstats
path: root/emacs/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-06-10 22:21:56 +0200
committerGravatar Tom Willemse2013-06-10 22:21:56 +0200
commit0b1080da69413ea78c7b909b4244597ea068d2a1 (patch)
tree16473de6fbe2aaec6bf52e90c32adbfead8b1488 /emacs/init.org
parent48387787cfbf23225dbf7a49cb38498ca8d450b7 (diff)
downloaddotfiles-0b1080da69413ea78c7b909b4244597ea068d2a1.tar.gz
dotfiles-0b1080da69413ea78c7b909b4244597ea068d2a1.zip
Skip any "migrations" dirs with rgrep
Diffstat (limited to 'emacs/init.org')
-rw-r--r--emacs/init.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs/init.org b/emacs/init.org
index 14d6d41..8614f70 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -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