aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorPhilipp Stephani2019-04-19 13:03:40 +0200
committerPhilipp Stephani2019-04-19 14:03:16 +0200
commit5c5e309527e6b582e2c04b83e7af45f3144863ac (patch)
tree0a19797e7e67663915d95b72ea5452c80b5dc552 /test/src
parent3ff7d7321ac62b1eb896e8a032e7f75f5a6b8146 (diff)
downloademacs-5c5e309527e6b582e2c04b83e7af45f3144863ac.tar.gz
emacs-5c5e309527e6b582e2c04b83e7af45f3144863ac.zip
Remove :stop key from make-process.
This has never worked and caused issues such as Bug#30460. * src/process.c (Fmake_process): Don't accept :stop key any more. (syms_of_process): Define needed symbol 'null'. * test/src/process-tests.el (make-process/stop): New unit test. * doc/lispref/processes.texi (Asynchronous Processes): Remove :stop key from manual.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/process-tests.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/src/process-tests.el b/test/src/process-tests.el
index 0bb7ebe50a8..b853f77946d 100644
--- a/test/src/process-tests.el
+++ b/test/src/process-tests.el
@@ -284,5 +284,14 @@ file name handler."
284(put #'process-tests--file-handler 'operations 284(put #'process-tests--file-handler 'operations
285 '(unhandled-file-name-directory make-process)) 285 '(unhandled-file-name-directory make-process))
286 286
287(ert-deftest make-process/stop ()
288 "Check that `make-process' doesn't accept a `:stop' key.
289See Bug#30460."
290 (should-error
291 (make-process :name "test"
292 :command (list (expand-file-name invocation-name
293 invocation-directory))
294 :stop t)))
295
287(provide 'process-tests) 296(provide 'process-tests)
288;; process-tests.el ends here. 297;; process-tests.el ends here.