Variable: so-long-mode-preserved-variables

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

Value

(view-old-buffer-read-only)

Documentation

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

The original value of each variable will be maintained after switching to so-long-mode. Unknown variables 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 variables are again set to their original values after the original major mode has been called.

See also so-long-mode-preserved-minor-modes (processed before 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-variables
  '(view-old-buffer-read-only)
  "List of buffer-local variables to preserve in `so-long-mode'.

The original value of each variable will be maintained after switching to
`so-long-mode'.  Unknown variables 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 variables are again
set to their original values after the original major mode has been called.

See also `so-long-mode-preserved-minor-modes' (processed before this)."
  :type '(repeat variable)
  :package-version '(so-long . "1.1"))