Jan Vroonhof wrote:
Go add hm--html-minor-mode to your html-mode hook now :-)
Would now be a good time to remind someone that html-mode-hook is not
defvar'd anywhere, so that it has no docstring and isn't located by
apropos unless you have already set it to something? I first reported
this as a bug against 20.4, well over a year ago, and reported it again
a couple of months ago. I would submit a patch, only I don't know which
file to put the hook in. On the one hand, the run-hooks for
html-mode-hook is located in sgml/sgml-mode.el, so it would make sense
to put it there. On the other hand:
- sgml/sgml-mode.el hasn't been customized;
- sgml/sgml-mode.el also has the run-hooks for sgml-mode-hook, but
that hook is defined in psgml/psgml.el.
So, to follow form, maybe it ought to be in psgml/psgml-html.el. But on
the gripping hand, I think the current situation with sgml-mode-hook is
confusing and would hate to see html-mode-hook follow suit.
--
Jerry James
Email: jerry(a)cs.ucsb.edu
WWW:
http://www.cs.ucsb.edu/~jerry/