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:
parent
6d35c807e5
commit
217fd4f09e
1 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue