X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-draft.el;h=0b1ba43fd0eb46ff8cac126b5c2cf8b97c70f3e3;hb=9fe36d7dc79df93e75de44290faf3fed66e688c0;hp=a68b7d8da002a7f3f76b2ccded426bb465724de7;hpb=4c79a2dabe38ac72eb9eb21620f2ffca5f1885c6;p=notmuch diff --git a/emacs/notmuch-draft.el b/emacs/notmuch-draft.el index a68b7d8d..0b1ba43f 100644 --- a/emacs/notmuch-draft.el +++ b/emacs/notmuch-draft.el @@ -42,7 +42,7 @@ :group 'notmuch) (defcustom notmuch-draft-tags '("+draft") - "List of tags changes to apply to a draft message when it is saved in the database. + "List of tag changes to apply when saving a draft message in the database. Tags starting with \"+\" (or not starting with either \"+\" or \"-\") in the list will be added, and tags starting with \"-\" @@ -239,7 +239,7 @@ applied to newly inserted messages)." (defun notmuch-draft-resume (id) "Resume editing of message with id ID." ;; Used by command `notmuch-show-resume-message'. - (let* ((tags (process-lines notmuch-command "search" "--output=tags" + (let* ((tags (notmuch--process-lines notmuch-command "search" "--output=tags" "--exclude=false" id)) (draft (equal tags (notmuch-update-tags tags notmuch-draft-tags)))) (when (or draft