Function: allout-setup

allout-setup is an autoloaded and byte-compiled function defined in allout.el.gz.

Signature

(allout-setup)

Documentation

Do fundamental Emacs session for allout auto-activation.

Establishes allout processing as part of visiting a file if allout-auto-activation is non-nil, or removes it otherwise.

The proper way to use this is through customizing the setting of allout-auto-activation.

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_  > allout-setup ()
;;;###autoload
(defun allout-setup ()
  "Do fundamental Emacs session for allout auto-activation.

Establishes allout processing as part of visiting a file if
`allout-auto-activation' is non-nil, or removes it otherwise.

The proper way to use this is through customizing the setting of
`allout-auto-activation'."
  (if (not allout-auto-activation)
      (remove-hook 'find-file-hook #'allout-find-file-hook)
      (add-hook 'find-file-hook #'allout-find-file-hook)))