]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch.el
emacs: Fix "no such file or directory" error
[notmuch] / emacs / notmuch.el
index 7994d742f7fc702ef77843af4efbefa4a2bd5da3..a9949a146f300fa77530c5d1340ce96409cf8a56 100644 (file)
@@ -821,8 +821,7 @@ non-authors is found, assume that all of the authors match."
        (parse-buf (process-get proc 'parse-buf))
        (inhibit-read-only t)
        done)
-    (if (not (buffer-live-p results-buf))
-       (delete-process proc)
+    (when (buffer-live-p results-buf)
       (with-current-buffer parse-buf
        ;; Insert new data
        (save-excursion