From a5b24a0c44dd603942c8cf531b47a3905927d3f4 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 12 Aug 2020 18:06:13 +0200 Subject: [PATCH] Revert "Remove compat code from comint.el" This reverts commit 4d00db5538dc0ef47cf1cdf425b895d04145fe9e. We still have Emacs builds on systems with no multi-taskin. --- lisp/comint.el | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.39.5