Variable: so-long-minor-modes
so-long-minor-modes is a customizable variable defined in
so-long.el.gz.
Value
(font-lock-mode display-line-numbers-mode flymake-mode flyspell-mode glasses-mode goto-address-mode goto-address-prog-mode hi-lock-mode highlight-changes-mode hl-line-mode linum-mode nlinum-mode prettify-symbols-mode visual-line-mode whitespace-mode diff-hl-amend-mode diff-hl-flydiff-mode diff-hl-mode dtrt-indent-mode flycheck-mode hl-sexp-mode idle-highlight-mode rainbow-delimiters-mode smartparens-mode smartparens-strict-mode)
Documentation
List of buffer-local minor modes to explicitly disable.
The ones which were originally enabled in the buffer are disabled by calling them with the numeric argument 0. Unknown modes, and modes which were not enabled, are ignored.
This happens after any globalized minor modes have acted, so that buffer-local modes controlled by globalized modes can also be targeted.
By default this happens if so-long-action is set to either so-long-mode
or so-long-minor-mode(var)/so-long-minor-mode(fun). If so-long-revert is subsequently invoked, then the
disabled modes are re-enabled by calling them with the numeric argument 1.
so-long-hook can be used where more custom behavior is desired.
Please submit bug reports to recommend additional modes for this list, whether they are in Emacs core, GNU ELPA, or elsewhere.
This variable was added, or its default value changed, in so-long version 1.1.
Source Code
;; Defined in /usr/src/emacs/lisp/so-long.el.gz
(defcustom so-long-minor-modes
;; In sorted groups.
'(font-lock-mode ;; (Generally the most important).
;; Other standard minor modes:
display-line-numbers-mode
flymake-mode
flyspell-mode
glasses-mode
goto-address-mode
goto-address-prog-mode
hi-lock-mode
highlight-changes-mode
hl-line-mode
linum-mode
nlinum-mode
prettify-symbols-mode
visual-line-mode
whitespace-mode
;; Known third-party modes-of-interest:
diff-hl-amend-mode
diff-hl-flydiff-mode
diff-hl-mode
dtrt-indent-mode
flycheck-mode
hl-sexp-mode
idle-highlight-mode
rainbow-delimiters-mode
smartparens-mode
smartparens-strict-mode
)
;; It's not clear to me whether all of these would be problematic, but they
;; seemed like reasonable targets. Some are certainly excessive in smaller
;; buffers of minified code, but we should be aiming to maximize performance
;; by default, so that Emacs is as responsive as we can manage in even very
;; large buffers of minified code.
"List of buffer-local minor modes to explicitly disable.
The ones which were originally enabled in the buffer are disabled by calling
them with the numeric argument 0. Unknown modes, and modes which were not
enabled, are ignored.
This happens after any globalized minor modes have acted, so that buffer-local
modes controlled by globalized modes can also be targeted.
By default this happens if `so-long-action' is set to either `so-long-mode'
or `so-long-minor-mode'. If `so-long-revert' is subsequently invoked, then the
disabled modes are re-enabled by calling them with the numeric argument 1.
`so-long-hook' can be used where more custom behavior is desired.
Please submit bug reports to recommend additional modes for this list, whether
they are in Emacs core, GNU ELPA, or elsewhere."
:type '(repeat symbol) ;; not function, as may be unknown => mismatch.
:package-version '(so-long . "1.1"))