summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-08-12 18:09:24 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-12 18:09:24 +0200
commit6cddb736e404f7f4bf15f6644a003aadd56685c2 (patch)
treefe348dc5df9c391ab10cda8ad45f6f586c8f713d /lisp/comint.el
parente3a08019933cd1ebfadc32fe9934cc202b25ba47 (diff)
downloademacs-6cddb736e404f7f4bf15f6644a003aadd56685c2.tar.gz
emacs-6cddb736e404f7f4bf15f6644a003aadd56685c2.tar.bz2
emacs-6cddb736e404f7f4bf15f6644a003aadd56685c2.zip
Check make-process to determine if we support multi-processing
* lisp/eshell/esh-proc.el (eshell-gather-process-output): * lisp/comint.el (make-comint-in-buffer): Check that make-process exists instead of start-file-process (which always exists).
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index df947b93afa..c3cb439d8b8 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -735,7 +735,7 @@ contents are sent to the process as its initial input.
If PROGRAM is a string, any more args are arguments to PROGRAM.
Return the (possibly newly created) process buffer."
- (or (fboundp 'start-file-process)
+ (or (fboundp 'make-process)
(error "Multi-processing is not supported for this system"))
(setq buffer (get-buffer-create (or buffer (concat "*" name "*"))))
;; If no process, or nuked process, crank up a new one and put buffer in