Function: org-demote-subtree

org-demote-subtree is an interactive and byte-compiled function defined in org.el.gz.

Signature

(org-demote-subtree)

Documentation

Demote the entire subtree.

See org-demote and org-promote.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-demote-subtree ()
  "Demote the entire subtree.
See `org-demote' and `org-promote'."
  (interactive)
  (save-excursion
    (org-back-to-heading t)
    (org-combine-change-calls (point) (save-excursion (org-end-of-subtree t))
      (org-with-limited-levels (org-map-tree 'org-demote))))
  (org-fix-position-after-promote))