diff options
author | Mark Walters <markwalters1009@gmail.com> | 2013-09-02 04:28:05 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-09-15 08:57:21 -0300 |
commit | 44bfad08f131fbfa72dbdcd0982414650cb49a08 (patch) | |
tree | 692a83ed7e7fa5dc4002dceb979bfbe5f202476f /contrib | |
parent | 2ae45c33924307e6a1ff56a385bdfd023fbd9c93 (diff) |
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.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/notmuch-pick/notmuch-pick.el | 7 |
1 files changed, 3 insertions, 4 deletions
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" |