forked from mirrors/org-mode
org.el (org-get-todo-state): Add a docstring
* org.el (org-get-todo-state): Add a docstring.
This commit is contained in:
parent
a5d6548a57
commit
428f12841f
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue