branch: externals/async
commit df6120a9a905a5aa922b817dc84fe48205330ee5
Author: Matus Goljer <matus.gol...@gmail.com>
Commit: Matus Goljer <matus.gol...@gmail.com>

    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