]> git.notmuchmail.org Git - notmuch/commitdiff
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)
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.


No differences found