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

Jameson Graef Rollins jrollins at finestructure.net
Mon Nov 28 11:51:01 PST 2011


On Mon, 28 Nov 2011 13:28:55 -0500, Austin Clements <amdragon at 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 at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111128/1d0f17a3/attachment-0001.pgp>


More information about the notmuch mailing list