[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/exec-path-from-shell d14d6d2966 106/114: Merge pull reques
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/exec-path-from-shell d14d6d2966 106/114: Merge pull request #101 from mnewt/eshell-path-env-in-buffers |
Date: |
Tue, 5 Sep 2023 04:00:08 -0400 (EDT) |
branch: elpa/exec-path-from-shell
commit d14d6d2966efe5a1409f84a6b9d998268f74761d
Merge: 4ea306a76f a45edbc2d0
Author: Steve Purcell <steve@sanityinc.com>
Commit: GitHub <noreply@github.com>
Merge pull request #101 from mnewt/eshell-path-env-in-buffers
Set each instance of the buffer local variable eshell-path-env
---
exec-path-from-shell.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index e0e381f42e..89eed8b5e7 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -225,8 +225,10 @@ Additionally, if NAME is \"PATH\" then also update the
variables `exec-path' and `eshell-path-env'."
(setenv name value)
(when (string-equal "PATH" name)
- (setq eshell-path-env value
- exec-path (append (parse-colon-path value) (list exec-directory)))))
+ (setq exec-path (append (parse-colon-path value) (list exec-directory)))
+ ;; `eshell-path-env' is a buffer local variable, so change its default
+ ;; value.
+ (setq-default eshell-path-env value)))
;;;###autoload
(defun exec-path-from-shell-copy-envs (names)
- [nongnu] elpa/exec-path-from-shell fedb500652 073/114: Fix "Emacssenvironment" typo, (continued)
- [nongnu] elpa/exec-path-from-shell fedb500652 073/114: Fix "Emacssenvironment" typo, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9def990ba4 069/114: Allow shell to be set explicitly, and change default resolution rules, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 5c44eabbb0 080/114: Declare a variable for the byte compiler, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 54ea2f9c3c 082/114: Make clear that bash and zsh are particularly supported, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 7e7f381884 091/114: Use a better method to establish definition of eshell-path-env, ELPA Syncer, 2023/09/05
- [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 <=
- [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, 2023/09/05
- [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