Function: org-do-promote

org-do-promote is an interactive and byte-compiled function defined in org.el.gz.

Signature

(org-do-promote)

Documentation

Promote the current heading higher up the tree.

If the region is active in transient-mark-mode(var)/transient-mark-mode(fun), promote all headings in the region.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-do-promote ()
  "Promote the current heading higher up the tree.
If the region is active in `transient-mark-mode', promote all
headings in the region."
  (interactive)
  (save-excursion
    (if (org-region-active-p)
        (let ((deactivate-mark nil))
          (org-map-region 'org-promote (region-beginning) (region-end)))
      (org-promote)))
  (org-fix-position-after-promote))