Variable: so-long-mode-preserved-minor-modes

so-long-mode-preserved-minor-modes is a customizable variable defined in so-long.el.gz.

Value

(view-mode)

Documentation

List of buffer-local minor modes to preserve in so-long-mode.

These will be enabled or disabled after switching to so-long-mode (by calling them with the numeric argument 1 or 0) in accordance with their state in the buffer's original major mode. Unknown modes, and modes which are already in the desired state, are ignored.

This happens before so-long-variable-overrides and so-long-minor-modes have been processed.

By default this happens only if so-long-action is set to so-long-mode. If so-long-revert is subsequently invoked, then the modes are again set to their original state after the original major mode has been called.

See also so-long-mode-preserved-variables (processed after this).

This variable was added, or its default value changed, in so-long version 1.1.

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/so-long.el.gz
(defcustom so-long-mode-preserved-minor-modes
  '(view-mode)
  "List of buffer-local minor modes to preserve in `so-long-mode'.

These will be enabled or disabled after switching to `so-long-mode' (by calling
them with the numeric argument 1 or 0) in accordance with their state in the
buffer's original major mode.  Unknown modes, and modes which are already in the
desired state, are ignored.

This happens before `so-long-variable-overrides' and `so-long-minor-modes'
have been processed.

By default this happens only if `so-long-action' is set to `so-long-mode'.
If `so-long-revert' is subsequently invoked, then the modes are again set
to their original state after the original major mode has been called.

See also `so-long-mode-preserved-variables' (processed after this)."
  :type '(repeat symbol) ;; not function, as may be unknown => mismatch.
  :package-version '(so-long . "1.1"))