branch: elpa/org-auto-tangle
commit e6ebda99dae3f0e9c733403d7d8662a45f9137da
Author: llcc <[email protected]>
Commit: llcc <[email protected]>
Update README with org-auto-tangle-with-files example
---
README.org | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/README.org b/README.org
index 41b80c13d52..9a4f77f9640 100644
--- a/README.org
+++ b/README.org
@@ -60,6 +60,16 @@ line without removing any ~vars~ list.
#+auto_tangle: vars:load-path nil
#+end_src
+Each listed file in =org-auto-tangle-with-files= will be loaded inside the
asynchronous
+Emacs process *before* tangling begins. This is useful for setting up
additional
+libraries, paths, or environment variables.
+
+#+begin_src emacs-lisp
+(setq org-auto-tangle-with-files
+ '("~/.emacs.d/my-env.el"
+ "~/.emacs.d/project-hooks.el"))
+#+end_src
+
* Babel Auto Tangle Safelist
Add a list of files to the safelist to autotangle with noweb evaluation
#+begin_src emacs-lisp