[PATCH v1 2/2] emacs: Call `notmuch-mua-send-hook' hooks when sending a message

David Edmondson dme at dme.org
Mon Oct 1 02:56:55 PDT 2018


On Friday, 2018-09-28 at 21:12:53 -03, David Bremner wrote:

> David Bremner <david at tethera.net> writes:
>
>>
>> This looks plausible to me, and of course the test passes. I did wonder
>> if this means that people actually using notmuch-user-agent would run
>> the hook twice now?
>
> After a certain amount of re-reading the docstring of
> define-mail-user-agent, and the source for compose-mail, I see that the
> HOOKVAR parameter is something that users of the mail-agent can tweak,
> rather than something that e.g. compose-mail promises to run.

Yes, I came to the same conclusion (this time!).

dme.
-- 
I had my eyes closed in the dark.


More information about the notmuch mailing list