iqbalansari / restart-emacs

A simple emacs package to restart emacs from within emacs
GNU General Public License v3.0
154 stars 14 forks source link

Fix subprocess call when using TRAMP #12

Closed PythonNut closed 6 years ago

PythonNut commented 6 years ago

By default, shell-command-to-string runs the command on the machine TRAMP is currently visiting. This means the call to lsof currently becomes invalid when editing remote files. This fixes that behavior.

iqbalansari commented 6 years ago

Hi @PythonNut,

Thanks a lot for the contribution