summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2023-07-11 14:17:25 +0200
committerJonas Bernoulli <jonas@bernoul.li>2023-07-11 14:17:25 +0200
commita4853781835346aabf083d2d9cb87f656d01ccac (patch)
tree3117d3d322c02c42e24cb1dfe36368f0f32b3e53
parentf04b3c790d59103a4145066de747dc9a6df6b325 (diff)
with-editor-debug: Display $PATH as a list
Makes it slightly easier to compare it with exec-path.
-rw-r--r--lisp/with-editor.el2
1 files changed, 1 insertions, 1 deletions
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))