branch: elpa/exec-path-from-shell
commit fead3d5360696a9f62e28fb63613b2864230ec96
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>
Add autoload cookies
---
exec-path-from-shell.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index 70bfb47cc1..6e684f989e 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -61,11 +61,13 @@
"[ \t\n]*$" ""
(shell-command-to-string (format "$SHELL --login -i -c 'echo $%s'" name))))
+;;;###autoload
(defun exec-path-from-shell-copy-env (name)
"Set the environment variable with `NAME' to match the value seen in the
user's shell."
(interactive "sCopy value of which environment variable from shell? ")
(setenv name (exec-path-from-shell-getenv name)))
+;;;###autoload
(defun exec-path-from-shell-initialize ()
"Set the PATH environment variable and `exec-path' to match that seen in the
user's shell."
(interactive)