* lisp/shell.el (shell): Fix typo: use process-live-p (bug#81145).

This commit is contained in:
Augusto Stoffel 2026-05-29 09:46:40 +02:00 committed by Sean Whitton
parent 545bbc6ebe
commit 2487984685

View file

@ -996,7 +996,7 @@ Make the shell buffer the current buffer, and return it.
(lambda (proc event)
(when sentinel
(funcall sentinel proc event))
(unless (buffer-live-p proc)
(unless (process-live-p proc)
(kill-buffer buffer))))))
buffer)