emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Info on define-minor-mode - :init-value or :initial-


From: Stefan Monnier
Subject: Re: address@hidden: Info on define-minor-mode - :init-value or :initial-value?]
Date: Thu, 28 Jul 2005 12:58:30 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

> There is more.  You can not specify a non-nil :init-value, unless
> either the minor mode is enabled by just setting the variable or
> unless you do something extra.

In what way is this a limitation?
I.e. if you don't use define-minor-mode, how would you do it differently?
[ I don't mean to say that "manual" code can't do it differently, but that
if it does it differently, it'll most likely break the convention that just
loading a file shouldn't make any visible changes. ]


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]