Function: org-mode-restart
org-mode-restart is an interactive and byte-compiled function defined
in org.el.gz.
Signature
(org-mode-restart)
Documentation
Restart org-mode.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-mode-restart ()
"Restart `org-mode'."
(interactive)
(let ((indent-status (bound-and-true-p org-indent-mode)))
(funcall major-mode)
(hack-local-variables)
(when (and indent-status (not (bound-and-true-p org-indent-mode)))
(org-indent-mode -1))
(org-reset-file-cache))
(message "%s restarted" major-mode))