Function: org-list-repair

org-list-repair is an interactive and byte-compiled function defined in org-list.el.gz.

Signature

(org-list-repair)

Documentation

Fix indentation, bullets and checkboxes in the list at point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-list.el.gz
(defun org-list-repair ()
  "Fix indentation, bullets and checkboxes in the list at point."
  (interactive)
  (unless (org-at-item-p) (error "This is not a list"))
  (let* ((struct (org-list-struct))
	 (parents (org-list-parents-alist struct)))
    (org-list-write-struct struct parents)))