[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/exec-path-from-shell 6124001b69 101/114: Checkdoc fixes
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/exec-path-from-shell 6124001b69 101/114: Checkdoc fixes |
Date: |
Tue, 5 Sep 2023 04:00:07 -0400 (EDT) |
branch: elpa/exec-path-from-shell
commit 6124001b69e68e4d275db5a0a9f0fe526f6ee3be
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Checkdoc fixes
---
exec-path-from-shell.el | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index 9e7754d332..6caa746ae6 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -209,8 +209,8 @@ variable of NAME and return this output as string."
(defun exec-path-from-shell-setenv (name value)
"Set the value of environment var NAME to VALUE.
-Additionally, if NAME is \"PATH\" then also set corresponding
-variables such as `exec-path'."
+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
@@ -220,9 +220,10 @@ variables such as `exec-path'."
(defun exec-path-from-shell-copy-envs (names)
"Set the environment variables with NAMES from the user's shell.
-As a special case, if the variable is $PATH, then `exec-path' and
-`eshell-path-env' are also set appropriately. The result is an alist,
-as described by `exec-path-from-shell-getenvs'."
+As a special case, if the variable is $PATH, then the variables
+`exec-path' and `eshell-path-env' are also set appropriately.
+The result is an alist, as described by
+`exec-path-from-shell-getenvs'."
(let ((pairs (exec-path-from-shell-getenvs names)))
(when exec-path-from-shell-check-startup-files
(exec-path-from-shell--maybe-warn-about-startup-files pairs))
@@ -248,9 +249,9 @@ as described by `exec-path-from-shell-getenvs'."
(defun exec-path-from-shell-copy-env (name)
"Set the environment variable $NAME from the user's shell.
-As a special case, if the variable is $PATH, then `exec-path' and
-`eshell-path-env' are also set appropriately. Return the value
-of the environment variable."
+As a special case, if the variable is $PATH, then the variables
+`exec-path' and `eshell-path-env' are also set appropriately.
+Return the value of the environment variable."
(interactive "sCopy value of which environment variable from shell? ")
(cdar (exec-path-from-shell-copy-envs (list name))))
- [nongnu] elpa/exec-path-from-shell eb4dda127e 056/114: Show which env vars are being set in the wrong startup files, (continued)
- [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
- [nongnu] elpa/exec-path-from-shell 6124001b69 101/114: Checkdoc fixes,
ELPA Syncer <=
- [nongnu] elpa/exec-path-from-shell 4c3fbc3d7f 108/114: "docstring wider than 80 characters", ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 3a8d97c096 110/114: Show how I add NIX_PATH, SSH_AUTH_SOCK etc. to vars list, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell c2a727fe34 062/114: fix defcustom loading when env SHELL is empty, ELPA Syncer, 2023/09/05
- [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