X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-show.el;h=e8c83433f7c0bf52b18fd39a8a96fee60a56bd57;hp=18b4671507a703183ffa7e9dfcc251b29b6ca477;hb=63782f4023680dd08c88024b50e5e48dfa3f50cd;hpb=9de0639126091fa0e48cfde69e3f6044d167a76a diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 18b46715..e8c83433 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1734,8 +1734,8 @@ TAG-CHANGES is a list of tag operations for `notmuch-tag'." See `notmuch-tag' for information on the format of TAG-CHANGES." (interactive) - (setq tag-changes (notmuch-tag (notmuch-show-get-message-id) tag-changes)) - (let* ((current-tags (notmuch-show-get-tags)) + (let* ((tag-changes (notmuch-tag (notmuch-show-get-message-id) tag-changes)) + (current-tags (notmuch-show-get-tags)) (new-tags (notmuch-update-tags current-tags tag-changes))) (unless (equal current-tags new-tags) (notmuch-show-set-tags new-tags))))