emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/exec-path-from-shell fead3d5360 002/114: Add autoload cook


From: ELPA Syncer
Subject: [nongnu] elpa/exec-path-from-shell fead3d5360 002/114: Add autoload cookies
Date: Tue, 5 Sep 2023 03:59:56 -0400 (EDT)

branch: elpa/exec-path-from-shell
commit fead3d5360696a9f62e28fb63613b2864230ec96
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]