emacs: notmuch-start-notmuch-error-sentinel: assert buffer is alive

This commit is contained in:
Jonas Bernoulli 2021-01-10 15:00:41 +01:00 committed by David Bremner
parent 0afb3f8b21
commit d57ce9ca71

View file

@ -956,7 +956,8 @@ status."
(defun notmuch-start-notmuch-error-sentinel (proc event)
(let ((buffer (process-get proc 'err-buffer)))
(kill-buffer buffer)))
(when (buffer-live-p buffer)
(kill-buffer buffer))))
(defvar-local notmuch-show-process-crypto nil)