From: Lars Ingebrigtsen Date: Wed, 12 Aug 2020 16:06:13 +0000 (+0200) Subject: Revert "Remove compat code from comint.el" X-Git-Tag: emacs-28.0.90~6656 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a5b24a0c44dd603942c8cf531b47a3905927d3f4;p=emacs.git Revert "Remove compat code from comint.el" This reverts commit 4d00db5538dc0ef47cf1cdf425b895d04145fe9e. We still have Emacs builds on systems with no multi-taskin. --- 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.