emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/exec-path-from-shell 7f77aa6dfb 052/114: Revert "Remove un


From: ELPA Syncer
Subject: [nongnu] elpa/exec-path-from-shell 7f77aa6dfb 052/114: Revert "Remove unnecessary dash to appease old csh"
Date: Tue, 5 Sep 2023 04:00:00 -0400 (EDT)

branch: elpa/exec-path-from-shell
commit 7f77aa6dfbb6364584600bb2c8c14f92b52d5068
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>

    Revert "Remove unnecessary dash to appease old csh"
    
    This reverts commit 4c328130ec768ed362a729c5ddf09f1e75bd16c4.
---
 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 b8754fbe1f..ab59789f1c 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -148,7 +148,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

[Prev in Thread] Current Thread [Next in Thread]