emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/with-editor a485378183 2/2: with-editor-debug: Display $PA


From: ELPA Syncer
Subject: [nongnu] elpa/with-editor a485378183 2/2: with-editor-debug: Display $PATH as a list
Date: Tue, 11 Jul 2023 10:01:18 -0400 (EDT)

branch: elpa/with-editor
commit a4853781835346aabf083d2d9cb87f656d01ccac
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    with-editor-debug: Display $PATH as a list
    
    Makes it slightly easier to compare it with exec-path.
---
 lisp/with-editor.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/with-editor.el b/lisp/with-editor.el
index c8a8aef27e..c1c5260299 100644
--- a/lisp/with-editor.el
+++ b/lisp/with-editor.el
@@ -961,7 +961,7 @@ See info node `(with-editor)Debugging' for instructions."
               (format " funcall: %s (%s)\n" fun
                       (and fun (with-editor-emacsclient-version fun)))))
     (insert "path:\n"
-            (format "  $PATH: %S\n" (getenv "PATH"))
+            (format "  $PATH:     %s\n" (split-string (getenv "PATH") ":"))
             (format "  exec-path: %s\n" exec-path))
     (insert (format "  with-editor-emacsclient-path:\n"))
     (dolist (dir (with-editor-emacsclient-path))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]