> Perhaps one could find these easily with a Lisp program
> that searches for a defun whose start matches "(defun [-a-z]+-mode "
> and that does not contain "(run-".
I did this. I think I found all and fixed most modes that did not run
mode hooks.
Thanks.
There are a few exceptions involving special major modes
like terminal-mode in lisp/terminal.el where the mode hook is run
outside of the major mode function by the caller of the major mode
function. I figured that fixing those complex cases is too
error-prone so I left them alone.
Ok.
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel