emacs-devel
[Top][All Lists]
Advanced

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

Re: Mail mode and message mode hooks


From: Davis Herring
Subject: Re: Mail mode and message mode hooks
Date: Tue, 1 Dec 2009 12:41:57 -0800 (PST)
User-agent: SquirrelMail/1.4.8-5.7.lanl7

> On further thought, there is a problem with this.  If we defvaralias
> (e.g.) message-send-hook in message.el, any (add-hook message-send-hook
> foo) statement in a user's .emacs file will be overwritten when message.el
> is loaded.

Why not, just before doing the defvaralias, merge any value the hook has
into the hook it is about to alias?

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.




reply via email to

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