org.el (org-get-todo-state): Add a docstring

* org.el (org-get-todo-state): Add a docstring.
This commit is contained in:
Bastien Guerry 2013-04-05 18:15:23 +02:00
parent a5d6548a57
commit 428f12841f

View file

@ -12705,6 +12705,7 @@ Returns the new TODO keyword, or nil if no state change should occur."
(member (org-get-todo-state) org-done-keywords))
(defun org-get-todo-state ()
"Return the TODO keyword of the current subtree."
(save-excursion
(org-back-to-heading t)
(and (looking-at org-todo-line-regexp)