Function: org-inlinetask-get-task-level
org-inlinetask-get-task-level is a byte-compiled function defined in
org-inlinetask.el.gz.
Signature
(org-inlinetask-get-task-level)
Documentation
Get the level of the inline task around.
This assumes the point is inside an inline task.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-inlinetask.el.gz
(defun org-inlinetask-get-task-level ()
"Get the level of the inline task around.
This assumes the point is inside an inline task."
(save-excursion
(end-of-line)
(re-search-backward (org-inlinetask-outline-regexp) nil t)
(- (match-end 1) (match-beginning 1))))