>  (if foo-mode (foo-mode 1))

This will turn on the minor mode if you happen to browse the corresponding
customize group (because Custom will then load the file).
I.e. it'd be a bug.

> Otherwise, if we're going to be rigid about this guideline (perhaps there
> are good reasons to do that, even in this case), then maybe we should just
> get rid of :init-value and have the initial value always be nil - that is,
> make users of a library turn on the minor mode explicitly.  That would not be
> my preference, but it would at least avoid confusion.

That might be a good alternative.


        Stefan


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to