Richard Stallman <[EMAIL PROTECTED]> writes:

>     Of course my method failed to find any major modes that don't run mode
>     hooks at all.  Maybe someone else could try to fix those?
>
> 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.  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.

Lute.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to