From: Jim Porter Date: Thu, 16 May 2024 05:22:56 +0000 (-0700) Subject: ; * lisp/eshell/esh-ext.el (eshell-remote-command): Improve last change. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dacd275f4efcb776198ec7e73379f872ca7e000f;p=emacs.git ; * lisp/eshell/esh-ext.el (eshell-remote-command): Improve last change. (cherry picked from commit 59b889885d1f18b9325bd0db3458d3537e6b5f2a) --- diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el index c1f2d6d14ac..df8f7198917 100644 --- a/lisp/eshell/esh-ext.el +++ b/lisp/eshell/esh-ext.el @@ -217,7 +217,7 @@ file; if COMMAND is a local file name, run it locally." ;; "cat" as the result. (command-localname (or (file-remote-p command 'localname 'never) command))) - (eshell-external-command command-localname args))) + (eshell-connection-local-command command-localname args))) (defun eshell-connection-local-command (command args) "Insert output from an external COMMAND, using ARGS.