Skip to content

Commit

Permalink
with-editor-debug: Display $PATH as a list
Browse files Browse the repository at this point in the history
Makes it slightly easier to compare it with exec-path.
  • Loading branch information
tarsius committed Jul 11, 2023
1 parent f04b3c7 commit a485378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/with-editor.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a485378

Please sign in to comment.