branch: elpa/aidermacs
commit d944f430eae936de2a9aa8121c7eaca2ca7be948
Author: Yikai Zhao <yi...@z1k.dev>
Commit: Matthew Zeng <matthew...@gmail.com>

    Update README about process-environment
    
    Stefan Monnier from emacs-devel points out that the previous
    documentation wrongly states that the env vars are invisible from
    other processes
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index bc32d1a69b0..2aa6ac17551 100644
--- a/README.md
+++ b/README.md
@@ -199,7 +199,7 @@ Example usage to securely set an OpenAI API key from 
password-store:
             (setenv "OPENAI_API_KEY" (password-store-get 
"code/openai_api_key"))))
 ```
 
-The environment variable set in the hook would only be visible to aider 
process. This approach keeps sensitive information out of your dotfiles while 
still making it available to Aidermacs.
+An copy of `process-environment` is used when running the hook and starting 
Aider, ensuring environment variables set in the hook only affect the Aider 
backend. This approach keeps sensitive information out of your dotfiles while 
still making it available to Aidermacs.
 
 ### Default Model Selection
 

Reply via email to