[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nxml-mode uses wrong method to run 'nxml-mode-hook

From: Jason Rumney
Subject: Re: nxml-mode uses wrong method to run 'nxml-mode-hook
Date: Mon, 16 Jun 2008 10:32:15 +0100
User-agent: Thunderbird (Windows/20080421)

address@hidden wrote:
The bottom of the function 'nxml-mode' ("nxml/nxml-mode.el", line 554;
your mileage may vary) has

  (run-hooks 'nxml-mode-hook)

It should use 'run-mode-hooks', because this is a major mode
definition.  Can someone fix that?

It looks like there are some other major modes with the same problem.
For example: terminal-mode, view-mode, remember-mode, erc, rmail,
rcirc.  Most of the matches below are minor modes, though.

The other major modes don't seem to be editing modes, and most of them have been in Emacs for a long time, so I am not sure if they should be changed, or if they have been left deliberately. But I have changed nxml-mode.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]