branch: elpa/exec-path-from-shell
commit 8ec1a9095166483aff29c214e41c0d4452b07a82
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>

    Fully escape interspersed null characters too (see #5)
---
 exec-path-from-shell.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index 89648d0a93..72922355ef 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -89,7 +89,7 @@ of (NAME . VALUE) pairs."
   (let ((values
          (split-string
           (exec-path-from-shell-printf
-           (mapconcat (lambda (n) (concat "$" n)) names "\\0"))
+           (mapconcat (lambda (n) (concat "$" n)) names "\\000"))
           "\0"))
         result)
     (while names

Reply via email to