From: Mark Walters Date: Mon, 2 Sep 2013 03:28:05 +0000 (+0100) Subject: contrib: pick: print () for a message with no tags X-Git-Tag: 0.17_rc1~125 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=44bfad08f131fbfa72dbdcd0982414650cb49a08;p=notmuch.git contrib: pick: print () for a message with no tags Dating back to the earliest notmuch-pick we have not printed anything for the tag field for a message with no tags. This is inconsistent with search and show both of which print "()". Change pick to be consistent. --- diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el index 2f20aa7d..c5df94db 100644 --- a/contrib/notmuch-pick/notmuch-pick.el +++ b/contrib/notmuch-pick/notmuch-pick.el @@ -711,10 +711,9 @@ unchanged ADDRESS if parsing fails." (face (if match 'notmuch-pick-match-tag-face 'notmuch-pick-no-match-tag-face))) - (when tags - (insert (propertize (format format-string - (mapconcat #'identity tags ", ")) - 'face face)))))))) + (insert (propertize (format format-string + (mapconcat #'identity tags ", ")) + 'face face))))))) (defun notmuch-pick-insert-msg (msg) "Insert the message MSG according to notmuch-pick-result-format"