Function: org-get-todo-state
org-get-todo-state is a byte-compiled function defined in org.el.gz.
Signature
(org-get-todo-state)
Documentation
Return the TODO keyword of the current subtree.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-get-todo-state ()
"Return the TODO keyword of the current subtree."
(save-excursion
(org-back-to-heading t)
(and (let ((case-fold-search nil))
(looking-at org-todo-line-regexp))
(match-end 2)
(match-string 2))))