[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/exec-path-from-shell a45edbc2d0 105/114: Per suggestion, c
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/exec-path-from-shell a45edbc2d0 105/114: Per suggestion, change only the default value of eshell-path-env |
Date: |
Tue, 5 Sep 2023 04:00:08 -0400 (EDT) |
branch: elpa/exec-path-from-shell
commit a45edbc2d0fd9f1d67cd60672e5b0f62fe4caf00
Author: Matthew Sojourner Newton <matt@mnewton.com>
Commit: Matthew Sojourner Newton <matt@mnewton.com>
Per suggestion, change only the default value of eshell-path-env
---
exec-path-from-shell.el | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index 1151bafe7b..89eed8b5e7 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -226,13 +226,9 @@ variables `exec-path' and `eshell-path-env'."
(setenv name value)
(when (string-equal "PATH" name)
(setq exec-path (append (parse-colon-path value) (list exec-directory)))
- ;; `eshell-path-env' is a buffer local variable so we set the default value
- ;; and then set the value in each `eshell' buffer.
- (setq-default eshell-path-env value)
- (dolist (buffer (buffer-list))
- (with-current-buffer buffer
- (when (derived-mode-p 'eshell-mode)
- (setq eshell-path-env value))))))
+ ;; `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 192c5341c5 044/114: Update MELPA URLs, (continued)
- [nongnu] elpa/exec-path-from-shell 192c5341c5 044/114: Update MELPA URLs, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 18cad603c4 100/114: Mention applicability to running a daemon from systemd, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell ddd24dc823 113/114: Add Emacs 28.2 to CI, cut down size of matrix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 30df5be792 064/114: Minor README fix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 39755bf322 045/114: Use 'el' code block type rather than 'scheme', ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 0f53502d46 068/114: Produce error at runtime if SHELL is unset, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 4c67a95a65 079/114: Add explicit GPL 3 license, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell f858b05cf9 083/114: Make installation instructions more explicit, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 76cd6e3fa8 086/114: Don't use -i by default with Fish (see #87), ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell ddd608cd19 097/114: Enable lexical-binding, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell a45edbc2d0 105/114: Per suggestion, change only the default value of eshell-path-env,
ELPA Syncer <=
- [nongnu] elpa/exec-path-from-shell 4d6a6aa180 060/114: Correct a function name in the README, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell b0449230d8 053/114: Distinguish between empty ("") and unset env vars, ELPA Syncer, 2023/09/05