Patch of shell-command-to-string in simple for tramp support
From:
Shuguang Sun
Subject:
Patch of shell-command-to-string in simple for tramp support
Date:
Thu, 25 Jan 2018 20:11:08 +0800
Hi,
The shell-command-to-string calls shell-file-name directly and it doesn't work in the case of local Windows and remoter Unix. I borrow the some code from shell.el and make a patch to simple.el.
Example: in find-file-in-project, shell-command-to-string was called to get the list of filenames. If it is in a remote directry via tramp, it will put error message c:/.../cmdproxy.exe not found.