>>>>> In <[EMAIL PROTECTED]> Lute Kamstra wrote:

>> Is it possible to use run-hooks in those Emacs versions?

> Maybe Gnus can do something like:

> (or (fboundp 'run-mode-hooks)
>     (defalias 'run-mode-hooks 'run-hooks))

> I saw that most hooks are run with gnus-run-hooks, which calls
> run-hooks.  Maybe you can also define a gnus-run-mode-hooks that uses
> run-mode-hooks instead and use that function for Gnus' major modes?

I've added gnus-run-mode-hooks to both the Gnus trunk and the
v5-10 branch (synch'd with the Emacs trunk).  Thank you for the
good suggestion.


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

Reply via email to