Function: org-insert-todo-subheading

org-insert-todo-subheading is an interactive and byte-compiled function defined in org.el.gz.

Signature

(org-insert-todo-subheading ARG)

Documentation

Insert a new subheading with TODO keyword or checkbox and demote it.

Works for outline headings and for plain lists alike. The prefix argument ARG is passed to org-insert-todo-heading.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-insert-todo-subheading (arg)
  "Insert a new subheading with TODO keyword or checkbox and demote it.
Works for outline headings and for plain lists alike.
The prefix argument ARG is passed to `org-insert-todo-heading'."
  (interactive "P")
  (org-insert-todo-heading arg)
  (cond
   ((org-at-heading-p) (org-do-demote))
   ((org-at-item-p) (org-indent-item))))