Re: [PATCH 1/2] emacs: remove some code duplication in notmuch-show

Subject: Re: [PATCH 1/2] emacs: remove some code duplication in notmuch-show

Date: Mon, 28 Nov 2011 11:51:01 -0800

To: Austin Clements

Cc: notmuch@notmuchmail.org

From: Jameson Graef Rollins


On Mon, 28 Nov 2011 13:28:55 -0500, Austin Clements <amdragon@MIT.EDU> wrote:
> If props isn't provided, it'll be nil, so notmuch-show-get-prop will
> also interpret its optional props argument as not being provided.

On Mon, 28 Nov 2011 22:11:43 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:
> If props is not supplied it is bound to nil.  There is no special
> "undefined" value.

jinx!

Thanks for the clarification, guys.  So this looks like a nice
simplification to me.

I'm surprised there are no other functions that could make use of this
newly modified notmuch-show-get-header...

jamie.
part-000.sig (application/pgp-signature)

Thread: