summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs/site-lisp/oni.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/site-lisp/oni.el b/emacs/site-lisp/oni.el
index 3113dec..1fb56d0 100644
--- a/emacs/site-lisp/oni.el
+++ b/emacs/site-lisp/oni.el
@@ -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.