]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-tree.el
emacs: tree remove comma separator tags
[notmuch] / emacs / notmuch-tree.el
index 8d59e65f6396ffedd5ef409c5c671d6b016ca883..0ce7fa85e34b5067d7e1974912e990a11a96f92a 100644 (file)
@@ -319,11 +319,13 @@ correct message properties."
   "Return the tags of the current message."
   (notmuch-tree-get-prop :tags))
 
-(defun notmuch-tree-get-message-id ()
+(defun notmuch-tree-get-message-id (&optional bare)
   "Return the message id of the current message."
   (let ((id (notmuch-tree-get-prop :id)))
     (if id
-       (notmuch-id-to-query id)
+       (if bare
+           id
+         (notmuch-id-to-query id))
       nil)))
 
 (defun notmuch-tree-get-match ()
@@ -691,7 +693,7 @@ unchanged ADDRESS if parsing fails."
                      'notmuch-tree-match-tag-face
                    'notmuch-tree-no-match-tag-face)))
        (propertize (format format-string
-                           (mapconcat #'identity tags ", "))
+                           (mapconcat #'identity tags " "))
                    'face face))))))