summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-08-12 18:06:13 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-12 18:06:13 +0200
commita5b24a0c44dd603942c8cf531b47a3905927d3f4 (patch)
treec5cdcc08d4d55454ded5b35ce580f7cba1190ed3 /lisp/comint.el
parent76098d39c992aa51f5bdb04fb39e40fc5eb409d5 (diff)
downloademacs-a5b24a0c44dd603942c8cf531b47a3905927d3f4.tar.gz
Revert "Remove compat code from comint.el"
This reverts commit 4d00db5538dc0ef47cf1cdf425b895d04145fe9e. We still have Emacs builds on systems with no multi-taskin.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 843cba14837..df947b93afa 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -735,6 +735,8 @@ 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)
+ (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
;; comint mode. Otherwise, leave buffer and existing process alone.