Function: org-toggle-ordered-property
org-toggle-ordered-property is an interactive and byte-compiled
function defined in org.el.gz.
Signature
(org-toggle-ordered-property)
Documentation
Toggle the ORDERED property of the current entry.
For better visibility, you can track the value of this property with a tag.
See variable org-track-ordered-property-with-tag.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-toggle-ordered-property ()
"Toggle the ORDERED property of the current entry.
For better visibility, you can track the value of this property with a tag.
See variable `org-track-ordered-property-with-tag'."
(interactive)
(let* ((t1 org-track-ordered-property-with-tag)
(tag (and t1 (if (stringp t1) t1 "ORDERED"))))
(save-excursion
(org-back-to-heading)
(if (org-entry-get nil "ORDERED")
(progn
(org-delete-property "ORDERED")
(and tag (org-toggle-tag tag 'off))
(message "Subtasks can be completed in arbitrary order"))
(org-entry-put nil "ORDERED" "t")
(and tag (org-toggle-tag tag 'on))
(message "Subtasks must be completed in sequence")))))