diff --git a/modules/email/notmuch/autoload.el b/modules/email/notmuch/autoload.el index b804b5eef..dfebce7fa 100644 --- a/modules/email/notmuch/autoload.el +++ b/modules/email/notmuch/autoload.el @@ -32,7 +32,7 @@ ;; (+popup/close (get-buffer-window "*notmuch-hello*")) (doom-kill-matching-buffers "^\\*notmuch") (when (modulep! :ui workspaces) - (+workspace/delete "*MAIL*"))) + (+workspace/delete +notmuch-workspace-name))) (defun +notmuch-get-sync-command () "Return a shell command string to synchronize your notmuch mail with."