Variable: mode-line-collapse-minor-modes
mode-line-collapse-minor-modes is a customizable variable defined in
bindings.el.gz.
Value
nil
Documentation
Minor modes for which mode line lighters are hidden.
Hidden lighters are collapsed into one, which latter is customizable
using the option mode-line-collapse-minor-modes-to.
The value could be a list (MODES ...) which means to collapse lighters only for MODES, or a list (not MODES ...) which means to collapse all lighters for minor modes not in MODES. Other non-nil values make all lighters hidden.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/bindings.el.gz
(defcustom mode-line-collapse-minor-modes nil
"Minor modes for which mode line lighters are hidden.
Hidden lighters are collapsed into one, which latter is customizable
using the option `mode-line-collapse-minor-modes-to'.
The value could be a list (MODES ...) which means to collapse lighters
only for MODES, or a list (not MODES ...) which means to collapse all
lighters for minor modes not in MODES. Other non-nil values make all
lighters hidden."
:type '(choice (const :tag "No modes" nil)
(repeat :tag "Modes" symbol)
(cons :tag "All modes except"
(const not) (repeat symbol))
(const :tag "All modes" t))
:group 'mode-line
:version "31.1")