branch: elpa/exec-path-from-shell
commit 869bc7ac48c446635cb06d8857a83d82bd424080
Merge: e381af89a7 4c328130ec
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>

    Merge pull request #28 from emacs18/patch-1
    
    Remove unnecessary dash to appease old csh
---
 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 56d381668b..98be4835d3 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -154,7 +154,7 @@ shell-escaped, so they may contain $ etc."
 
 Execute $SHELL according to `exec-path-from-shell-arguments'.
 The result is a list of (NAME . VALUE) pairs."
-  (let* ((dollar-names (mapcar (lambda (n) (format "${%s-}" n)) names))
+  (let* ((dollar-names (mapcar (lambda (n) (format "${%s}" n)) names))
          (values (split-string (exec-path-from-shell-printf
                                 (mapconcat #'identity (make-list (length 
names) "%s") "\\000")
                                 dollar-names) "\0")))

Reply via email to