Variable: local-minor-modes
local-minor-modes is a buffer-local variable defined in buffer.c.
Documentation
Minor modes currently active in the current buffer.
This is a list of symbols, or nil if there are no minor modes active.
Probably introduced at or before Emacs version 28.1.
Source Code
// Defined in /usr/src/emacs/src/buffer.c
DEFVAR_PER_BUFFER ("local-minor-modes",
&BVAR (current_buffer, local_minor_modes),
Qnil,
doc: /* Minor modes currently active in the current buffer.
This is a list of symbols, or nil if there are no minor modes active. */);