1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00

; * doc/lispref/modes.texi (Defining Minor Modes): Fix last change.

This commit is contained in:
Eli Zaretskii 2025-09-27 17:09:44 +03:00
parent 6d35c807e5
commit 217fd4f09e

View file

@ -1861,9 +1861,10 @@ marking the @code{define-minor-mode} form as autoloaded.
@item :init-value @var{init-value}
This is the value to which the @var{mode} variable is initialized.
Except in unusual circumstances (see below), this value must be
@code{nil}. If the mode is global (see below), and the initial value is
@code{t}, i.e., the mode is turned on by default, you should consider
forcing Emacs to run the mode function at startup, like this:
@code{nil}. If the mode is global (see below) and preloaded, and the
initial value is @code{t}, i.e., the mode is turned on by default, you
should consider forcing Emacs to run the mode function at startup, like
this:
@lisp
:initialize #'custom-initialize-delay