Make subprocess functions resolve the default directory
commit604eb02fff061e663e7523f45a72ecb71c2061e1
authorPhilipp Stephani <phst@google.com>
Fri, 3 Mar 2017 16:56:01 +0000 (3 17:56 +0100)
committerPhilipp Stephani <phst@google.com>
Tue, 4 Apr 2017 12:32:01 +0000 (4 14:32 +0200)
treeb9328e9f9f6df7e82509de8ed207a8ea03716cf6
parentf4b50dad8d5eade04f495c693c0bca46060b25cb
Make subprocess functions resolve the default directory

`call-process' doesn't respect file name handlers in
`default-directory', so `file-name-non-special' has to resolve them
for `process-file', `start-file-process', and
`shell-command' (Bug#25949).

* lisp/files.el (file-name-non-special): Also resolve default
directory for 'process-file', 'start-file-process', and
'shell-command'.
* test/lisp/files-tests.el
(files-tests--file-name-non-special--subprocess): Add unit test.
lisp/files.el
test/lisp/files-tests.el