Variable: so-long-action-alist

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

Value

((so-long-mode "Change major mode to so-long-mode" so-long-mode so-long-mode-revert)
 (so-long-minor-mode "Enable so-long-minor-mode" turn-on-so-long-minor-mode turn-off-so-long-minor-mode)
 (longlines-mode "Enable longlines-mode" so-long-function-longlines-mode so-long-revert-function-longlines-mode))

Documentation

Options for so-long-action.

Each element is a list comprising (KEY LABEL ACTION REVERT)

KEY is a symbol which is a valid value for so-long-action, and LABEL is a string which describes and represents the key in that option's customize interface, and in the "So Long" menu. ACTION and REVERT are functions:

ACTION will be the so-long-function(var)/so-long-function(fun) value when so-long is called, and REVERT will be the so-long-revert-function(var)/so-long-revert-function(fun) value, if so-long-revert is subsequently called.

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

Source Code

;; Defined in /usr/src/emacs/lisp/so-long.el.gz
(defcustom so-long-action-alist
  '((so-long-mode
     "Change major mode to so-long-mode"
     so-long-mode
     so-long-mode-revert)
    (so-long-minor-mode
     "Enable so-long-minor-mode"
     turn-on-so-long-minor-mode
     turn-off-so-long-minor-mode)
    (longlines-mode
     "Enable longlines-mode"
     so-long-function-longlines-mode
     so-long-revert-function-longlines-mode))
  "Options for `so-long-action'.

Each element is a list comprising (KEY LABEL ACTION REVERT)

KEY is a symbol which is a valid value for `so-long-action', and LABEL is a
string which describes and represents the key in that option's customize
interface, and in the \"So Long\" menu.  ACTION and REVERT are functions:

ACTION will be the `so-long-function' value when `so-long' is called, and
REVERT will be the `so-long-revert-function' value, if `so-long-revert' is
subsequently called."
  :type '(alist :key-type (symbol :tag "Key" :value <action>)
                :value-type (list (string :tag "Label" :value "<description>")
                                  (function :tag "Action")
                                  (function :tag "Revert")))
  :set #'so-long--action-alist-setter
  :package-version '(so-long . "1.0"))