Function: org-do-demote
org-do-demote is an interactive and byte-compiled function defined in
org.el.gz.
Signature
(org-do-demote)
Documentation
Demote the current heading lower down the tree.
If the region is active in transient-mark-mode(var)/transient-mark-mode(fun), demote all
headings in the region.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-do-demote ()
"Demote the current heading lower down the tree.
If the region is active in `transient-mark-mode', demote all
headings in the region."
(interactive)
(save-excursion
(if (org-region-active-p)
(let ((deactivate-mark nil))
(org-map-region 'org-demote (region-beginning) (region-end)))
(org-demote)))
(org-fix-position-after-promote))