Stefan Monnier wrote: > I'm not Glenn, but IIRC the motivation was to make sure that foo-mode-hook > was always bound. It's not needed from elisp's point of view.
I am he, but Stefan has it right anyway. It was just a cosmetic change, in response to bug report "outline mode doesn't call outline-mode-hook as promised (patch)" (Jul 16 2003). Without it, when one read the docstring for a mode defined with define-derived-mode it referenced a hook that did not seem to be defined. _______________________________________________ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug