]> git.eshelyaron.com Git - emacs.git/commit
Add file name handler support for 'make-process' (Bug#28691)
authorPhilipp Stephani <p.stephani2@gmail.com>
Mon, 17 Dec 2018 20:47:46 +0000 (21:47 +0100)
committerPhilipp Stephani <phst@google.com>
Sat, 22 Dec 2018 21:10:48 +0000 (22:10 +0100)
commit039be4e02513e03ae465efae5694bd4e28a74dbe
tree34d43f419b279e7f652ef592332f2021b5eedc66
parentb41789f31f2355f6de8c15bbbc10cd6bf3dfe61e
Add file name handler support for 'make-process' (Bug#28691)

* src/process.c (Fmake_process): Add new keyword argument
':file-handler'.
(syms_of_process) <make-process, :file-handler>: Define new symbols.

* lisp/files.el (file-name-non-special): Add support for
'make-process'.

* test/src/process-tests.el (make-process/file-handler/found)
(make-process/file-handler/not-found)
(make-process/file-handler/disable): New unit tests.
(process-tests--file-handler): New helper function.

* test/lisp/files-tests.el
(files-tests-file-name-non-special-make-process): New unit test.

* doc/lispref/files.texi (Magic File Names): Document that
'make-process' can invoke file name handlers.

* doc/lispref/processes.texi (Asynchronous Processes): Document
':file-handlers' argument to 'make-process'.

* etc/NEWS (Lisp Changes in Emacs 27.1): Mention new
:file-handler argument for 'make-process'.
doc/lispref/files.texi
doc/lispref/processes.texi
etc/NEWS
lisp/files.el
src/process.c
test/lisp/files-tests.el
test/src/process-tests.el