]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-show.el
emacs: replace setq + let with let*
[notmuch] / emacs / notmuch-show.el
index 18b4671507a703183ffa7e9dfcc251b29b6ca477..e8c83433f7c0bf52b18fd39a8a96fee60a56bd57 100644 (file)
@@ -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))))