Variable: allout-auto-activation

allout-auto-activation is a customizable variable defined in allout.el.gz.

Value

nil

Documentation

Configure allout outline mode auto-activation.

Control whether and how allout outline mode is automatically activated when files are visited with non-nil buffer-specific file variable allout-layout.

When allout-auto-activation is "On" (t), allout mode is activated in buffers with non-nil allout-layout, and the specified layout is applied.

With value "ask", auto-mode-activation is enabled, and endorsement for performing auto-layout is asked of the user each time.

With value "activate", only auto-mode-activation is enabled. Auto-layout is not.

With value nil, inhibit any automatic allout-mode activation.

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_  = allout-auto-activation
;;;###autoload
(defcustom allout-auto-activation nil
  "Configure allout outline mode auto-activation.

Control whether and how allout outline mode is automatically
activated when files are visited with non-nil buffer-specific
file variable `allout-layout'.

When `allout-auto-activation' is \"On\" (t), allout mode is
activated in buffers with non-nil `allout-layout', and the
specified layout is applied.

With value \"ask\", auto-mode-activation is enabled, and endorsement for
performing auto-layout is asked of the user each time.

With value \"activate\", only auto-mode-activation is enabled.
Auto-layout is not.

With value nil, inhibit any automatic allout-mode activation."
  :set #'allout-auto-activation-helper
  ;; FIXME: Using strings here is unusual and less efficient than symbols.
  :type '(choice (const :tag "On" t)
                (const :tag "Ask about layout" "ask")
                (const :tag "Mode only" "activate")
                (const :tag "Off" nil))
  :group 'allout)