branch: externals/async
commit 34feabe1142863a2c96f75afda1a2ae4aa0813f6
Merge: 3f91ce8b96 df6120a9a9
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: GitHub <nore...@github.com>

    Merge pull request #175 from Fuco1/bugfix/err-buffer
    
    fix: replace incorrect function to test for process liveness
---
 async.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/async.el b/async.el
index aa0ccaba0c..e181773d9f 100644
--- a/async.el
+++ b/async.el
@@ -411,7 +411,7 @@ working directory."
     (set-process-sentinel
      (get-buffer-process buf-err)
      (lambda (proc _change)
-       (unless (or async-debug (buffer-live-p proc))
+       (unless (or async-debug (process-live-p proc))
          (kill-buffer (process-buffer proc)))))
     (with-current-buffer buf
       (set (make-local-variable 'async-callback) finish-func)

Reply via email to