Function: org-indent-indent-buffer

org-indent-indent-buffer is an interactive and byte-compiled function defined in org-indent.el.gz.

Signature

(org-indent-indent-buffer)

Documentation

Add indentation properties to the accessible part of the buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-indent.el.gz
(defun org-indent-indent-buffer ()
  "Add indentation properties to the accessible part of the buffer."
  (interactive)
  (if (not (derived-mode-p 'org-mode))
      (error "Not in Org mode")
    (message "Setting buffer indentation.  It may take a few seconds...")
    (org-indent-remove-properties (point-min) (point-max))
    (org-indent-add-properties (point-min) (point-max))
    (message "Indentation of buffer set.")))