Variable: so-long-action

so-long-action is a customizable variable defined in so-long.el.gz.

Value

so-long-mode

Documentation

The action taken by so-long when long lines are detected.

(Long lines are determined by so-long-predicate after set-auto-mode.)

The value is a key to one of the options defined by so-long-action-alist.

The default action is to replace the original major mode with so-long-mode. Alternatively, the so-long-minor-mode(var)/so-long-minor-mode(fun) action retains the original major mode while still disabling minor modes and overriding variables. These are the only standard values for which so-long-minor-modes and so-long-variable-overrides will be automatically processed; but custom actions can also do these things.

The value longlines-mode(var)/longlines-mode(fun) causes that minor mode to be enabled. See longlines.el for more details.

Each action likewise determines the behavior of so-long-revert.

If the value is nil, or not defined in so-long-action-alist, then no action will be taken.

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

Probably introduced at or before Emacs version 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/so-long.el.gz
(defcustom so-long-action 'so-long-mode
  "The action taken by `so-long' when long lines are detected.

\(Long lines are determined by `so-long-predicate' after `set-auto-mode'.)

The value is a key to one of the options defined by `so-long-action-alist'.

The default action is to replace the original major mode with `so-long-mode'.
Alternatively, the `so-long-minor-mode' action retains the original major mode
while still disabling minor modes and overriding variables.  These are the only
standard values for which `so-long-minor-modes' and `so-long-variable-overrides'
will be automatically processed; but custom actions can also do these things.

The value `longlines-mode' causes that minor mode to be enabled.  See
longlines.el for more details.

Each action likewise determines the behavior of `so-long-revert'.

If the value is nil, or not defined in `so-long-action-alist', then no action
will be taken."
  :type (so-long--action-type)
  :package-version '(so-long . "1.0"))