]> git.notmuchmail.org Git - notmuch/commit
contrib: pick: tidy up pick-format-field
authorMark Walters <markwalters1009@gmail.com>
Sun, 15 Sep 2013 08:41:17 +0000 (09:41 +0100)
committerDavid Bremner <bremner@debian.org>
Mon, 23 Sep 2013 10:30:57 +0000 (07:30 -0300)
commitcbbf53e4df9a90620339e70da71aa8734915462b
treeb3467fc8221f828a4f97f8f941029cc8775ed4b9
parentc8f7b6e0c4ae1cdce41239e41a21440bbc74b258
contrib: pick: tidy up pick-format-field

Previously this function used a temporary variable to store the return
value but we can just use the return value of the cond statement
directly.

The only tiny subtlety is that in one case (subject) we need to
slightly reorder the logic to make sure the formatted-field is the
last thing computed.
contrib/notmuch-pick/notmuch-pick.el