[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/exec-path-from-shell 30c793b388 054/114: Preserve "" env v
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/exec-path-from-shell 30c793b388 054/114: Preserve "" env var values: don't map them to nil |
Date: |
Tue, 5 Sep 2023 04:00:00 -0400 (EDT) |
branch: elpa/exec-path-from-shell
commit 30c793b388312e5044afb7549b50996bf2b71941
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Preserve "" env var values: don't map them to nil
See #31
---
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 4114aedebe..1847c678c8 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -149,7 +149,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* ((random-default (md5 (format "%s%s%s" (emacs-pid) (random)
(current-time))))
- (dollar-names (mapcar (lambda (n) (format "${%s:-%s}" n
random-default)) names))
+ (dollar-names (mapcar (lambda (n) (format "${%s-%s}" n
random-default)) names))
(values (split-string (exec-path-from-shell-printf
(mapconcat #'identity (make-list (length
names) "%s") "\\000")
dollar-names) "\0")))
- [nongnu] elpa/exec-path-from-shell 1a43e8aea5 090/114: Add simple CI with Actions, (continued)
- [nongnu] elpa/exec-path-from-shell 1a43e8aea5 090/114: Add simple CI with Actions, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9365c94ef1 096/114: Clarify point in README, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 4ea306a76f 103/114: Prefer cl-gensym to gensym for better compatibility across emacs versions, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell e5647b9109 099/114: Add Emacs 27.1 to CI, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell d8824a3a4e 104/114: Set each instance of the buffer local variable eshell-path-env, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell d14d6d2966 106/114: Merge pull request #101 from mnewt/eshell-path-env-in-buffers, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell bf4bdc8b89 107/114: Add Emacs 27.2 to CI matrix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 0a07f5489c 109/114: Merge pull request #105 from brandelune/patch-1, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell dff9ce3577 112/114: Detect "nu" as a non-standard shell, see #109, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 869bc7ac48 050/114: Merge pull request #28 from emacs18/patch-1, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 30c793b388 054/114: Preserve "" env var values: don't map them to nil,
ELPA Syncer <=
- [nongnu] elpa/exec-path-from-shell eb4dda127e 056/114: Show which env vars are being set in the wrong startup files, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell c6eedaf916 071/114: Merge pull request #62 from Fuco1/patch-1, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 1d373ba14c 070/114: Fix defcustom for exec-path-from-shell-shell-name, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 5736cc87e4 075/114: Add sentinel to exec-path-from-shell-printf (closes #41), ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 885b3de9bb 078/114: Fix checkdoc warning, bogus local var, non-standard keywords, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 699f41edb3 087/114: Show error if trying to run from a remote buffer, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell e24dddb3b7 038/114: Capitalize MELPA, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 8748769a6c 042/114: Better "motivation" description, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9bc0f4a762 085/114: Note about how best to set up shell config files, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 76fbdf5d01 092/114: Fix ignore pattern in Actions YAML, ELPA Syncer, 2023/09/05