[PATCH] emacs: Reuse rather than reinvent message header filtering
David Edmondson
dme at dme.org
Thu Apr 29 02:00:34 PDT 2010
On Thu, 29 Apr 2010 10:47:55 +0200, Sebastian Spaeth <Sebastian at SSpaeth.de> wrote:
> In notmuch-mua-reply we were filtering out the Subject and To headers
> manually in a loop, but message mode offers a nice function for
> exactly that. Simplify the code by using that. Also, as
> notmuch-mua-mail already sorts and hides headers that we want sorted
> and hidden, we can safely remove those 2 functions from here as well.
>
> Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
This looks fine to me (I even tested!).
We can also remove "(require 'cl)" now that the use of `loop' is gone.
dme.
--
David Edmondson, http://dme.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100429/e1cd31cf/attachment.pgp>
More information about the notmuch
mailing list