mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-04 16:38:14 +01:00
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.
This commit is contained in:
parent
2ae45c3392
commit
44bfad08f1
1 changed files with 3 additions and 4 deletions
|
@ -711,10 +711,9 @@ unchanged ADDRESS if parsing fails."
|
||||||
(face (if match
|
(face (if match
|
||||||
'notmuch-pick-match-tag-face
|
'notmuch-pick-match-tag-face
|
||||||
'notmuch-pick-no-match-tag-face)))
|
'notmuch-pick-no-match-tag-face)))
|
||||||
(when tags
|
(insert (propertize (format format-string
|
||||||
(insert (propertize (format format-string
|
(mapconcat #'identity tags ", "))
|
||||||
(mapconcat #'identity tags ", "))
|
'face face)))))))
|
||||||
'face face))))))))
|
|
||||||
|
|
||||||
(defun notmuch-pick-insert-msg (msg)
|
(defun notmuch-pick-insert-msg (msg)
|
||||||
"Insert the message MSG according to notmuch-pick-result-format"
|
"Insert the message MSG according to notmuch-pick-result-format"
|
||||||
|
|
Loading…
Reference in a new issue