summaryrefslogtreecommitdiff
path: root/.emacs.d/init-org.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init-org.el')
-rw-r--r--.emacs.d/init-org.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs.d/init-org.el b/.emacs.d/init-org.el
index 14814c00..bcb08480 100644
--- a/.emacs.d/init-org.el
+++ b/.emacs.d/init-org.el
@@ -481,6 +481,8 @@
(grep-find (concat "find " org-directory
" -regextype posix-egrep -type f"
args-together
+ " -not -regex '" (expand-file-name org-directory) "/archive/.*'"
+ " -not -name reading.org"
" -not -name archive.org -not -regex '" (expand-file-name org-directory) "/[ABCDEFGHIJKLMNOPQRSTUVWXYZ].*' -exec egrep -nH -e \"\\* \(TODO\|SOMEDAY\|WAITING\|SOONDAY\) \" {} +"))))
(defadvice org-agenda (after spw/org-agenda-run-find-non-agenda-todos activate)