]> git.eshelyaron.com Git - emacs.git/commitdiff
; Use the current system's style of shell-quoting in Eshell debug logs
authorJim Porter <jporterbugs@gmail.com>
Sun, 9 Jun 2024 20:47:15 +0000 (13:47 -0700)
committerEshel Yaron <me@eshelyaron.com>
Mon, 10 Jun 2024 07:27:04 +0000 (09:27 +0200)
* lisp/eshell/esh-proc.el (eshell-gather-process-output): Don't force
POSIX syntax.  This is less confusing when running on MS-Windows.

(cherry picked from commit e1cc2d1f61836e1da08817524999878b639e6761)

lisp/eshell/esh-proc.el

index 34db5e1c77102ebd0f2c88087d278a0d73d14272..e05590f2542ad40dafcbd7c68d6c232b0e579c8c 100644 (file)
@@ -360,8 +360,7 @@ Used only on systems which do not support async subprocesses.")
                :file-handler t)))
       (eshell-debug-command 'process
         "started external process `%s'\n\n%s" proc
-        (mapconcat (lambda (i) (shell-quote-argument i 'posix))
-                   (process-command proc) " "))
+        (mapconcat #'shell-quote-argument (process-command proc) " "))
       (eshell-record-process-object proc)
       (eshell-record-process-properties proc)
       (when stderr-proc