Richard Stallman wrote: Any function could potentially set up the minor mode for a given major mode, not just the minor mode function.
I do not understand what you're talking about. Font Lock is a pretty wild example of that. Would you please be specific? I am talking about things like font-lock-{add,remove}-keywords, when passing nil for MODE. In addition to this difficulty, not all minor modes are defined with define-minor-mode. Note that my latest patch to easy-mmode no longer requires minor modes to manage the MODE-stored-mode variable themselves. define-global-minor's managing is not 100% reliable, but now the variable is only used for efficiency's sake, not for correctness' sake, so it no longer needs to be 100% reliable. A minor modes can manage MODE-stored-mode _if it wants to_. define-global-minor mode's managing will not interfere with the minor mode's own managing. Sincerely, Luc. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel