mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Notmuch sync process is done asynchronously, but if the user switch to other buffer before update process, it complains like ``` error in process sentinel: #<window 98> is not a valid window ``` This commit simplifies cleanup process after mail syncing, and still maintain its functionality.