• Philipp Stephani's avatar
    Add file name handler support for 'make-process' (Bug#28691) · 039be4e0
    Philipp Stephani authored
    * 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'.
    039be4e0
NEWS 55.8 KB