From dacd275f4efcb776198ec7e73379f872ca7e000f Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Wed, 15 May 2024 22:22:56 -0700 Subject: [PATCH] ; * lisp/eshell/esh-ext.el (eshell-remote-command): Improve last change. (cherry picked from commit 59b889885d1f18b9325bd0db3458d3537e6b5f2a) --- lisp/eshell/esh-ext.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5