mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
emacs: notmuch-start-notmuch-sentinel: assert buffer is alive
This commit is contained in:
parent
d57ce9ca71
commit
db0fd8e782
1 changed files with 2 additions and 1 deletions
|
@ -917,7 +917,8 @@ status."
|
|||
(defun notmuch-start-notmuch-sentinel (proc event)
|
||||
"Process sentinel function used by `notmuch-start-notmuch'."
|
||||
(let* ((err-buffer (process-get proc 'err-buffer))
|
||||
(err (and (not (zerop (buffer-size err-buffer)))
|
||||
(err (and (buffer-live-p err-buffer)
|
||||
(not (zerop (buffer-size err-buffer)))
|
||||
(with-current-buffer err-buffer (buffer-string))))
|
||||
(sub-sentinel (process-get proc 'sub-sentinel))
|
||||
(real-command (process-get proc 'real-command)))
|
||||
|
|
Loading…
Reference in a new issue