From a4853781835346aabf083d2d9cb87f656d01ccac Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Tue, 11 Jul 2023 14:17:25 +0200 Subject: 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 c8a8aef..c1c5260 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)) -- cgit v1.0