Add function to skip all tasks with `ex' as tag

This commit is contained in:
Tom Willemse 2013-05-04 11:33:47 +02:00
parent ca90f4623b
commit b330329c72

View file

@ -454,6 +454,13 @@ insert at the end of the region and at the beginning."
(interactive)
(find-file "~/documents/org/index.org"))
(defun oni:skip-ex-tag ()
(let ((tags (org-entry-get (point) "TAGS")))
(when (and tags (string-match-p ":ex:" tags))
(save-excursion
(org-forward-element)
(point)))))
(defun oni:split-window-interactive (dir)
"Split windows in direction DIR.