]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/eshell/esh-ext.el (eshell-remote-command): Improve last change.
authorJim Porter <jporterbugs@gmail.com>
Thu, 16 May 2024 05:22:56 +0000 (22:22 -0700)
committerEshel Yaron <me@eshelyaron.com>
Thu, 16 May 2024 08:23:17 +0000 (10:23 +0200)
(cherry picked from commit 59b889885d1f18b9325bd0db3458d3537e6b5f2a)

lisp/eshell/esh-ext.el

index c1f2d6d14acb60ff661ccb595ab11875cdc7d8e3..df8f71989172194d7dd2a17f7b54be6c50eb29d1 100644 (file)
@@ -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.