branch: elpa/with-editor
commit a4853781835346aabf083d2d9cb87f656d01ccac
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@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