X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-tree.el;h=c00315e8dd40edaadfc369a95b2545fce49affbf;hb=1348212cb051b846bbe98f6d653da45aad3dfefa;hp=220395e712bdf0bcdce56d38f78e91ece88f0970;hpb=0260ee371ea561d3e6876ab800e934ddeacb3482;p=notmuch diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index 220395e7..c00315e8 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -598,6 +598,8 @@ message will be \"unarchived\", i.e. the tag changes in (defun notmuch-tree-refresh-view () "Refresh view." (interactive) + (when (get-buffer-process (current-buffer)) + (error "notmuch tree process already running for current buffer")) (let ((inhibit-read-only t) (basic-query notmuch-tree-basic-query) (query-context notmuch-tree-query-context)