summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorJim Porter <jporterbugs@gmail.com>2023-03-26 16:55:24 -0700
committerJim Porter <jporterbugs@gmail.com>2023-08-23 22:18:52 -0700
commitb9917f11521d47426330d79c65f9726c8fd7f8f7 (patch)
tree2eb6df99d21305dfa5e6406a633446c37ded2c93 /lisp/emacs-lisp/bytecomp.el
parenta7c13f535fce9890cc7e10d0cf4a62c2d2f8411f (diff)
downloademacs-b9917f11521d47426330d79c65f9726c8fd7f8f7.tar.gz
emacs-b9917f11521d47426330d79c65f9726c8fd7f8f7.tar.bz2
emacs-b9917f11521d47426330d79c65f9726c8fd7f8f7.zip
When waiting for a process in Eshell, consult its status
This should be functionally the same as the previous implementation in most cases (which consulted its membership in 'eshell-process-list'), but is more flexible. It's now possible to wait for processes that aren't in 'eshell-process-list'. Additionally, use 'process-live-p' instead of examining 'process-status' in a few places. This is simpler, and a bit more correct too for certain types of processes (though it likely doesn't matter in practice). * lisp/eshell/esh-io.el (eshell-close-target) (eshell-output-object-to-target) * lisp/eshell/esh-proc.el (eshell-process-interact): Use 'process-live-p'. (eshell-wait-for-process): Use 'process-live-p' and remove reference to 'eshell-process-list'.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions