For cases which are more complex, you'd use custom-initialize-default
and then write (if foo-mode (foo-mode 1)) at the end of the file.
If we are willing to change define-minor-mode, then I do not believe
that there is any need for the more complex method, unless there is
some reason why the define-minor-mode can not be delayed until all
functions called by the minor mode have been defined.
Sometimes it is inconvenient to order things that way. So let's
document this as an optional method.
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel