branch: elpa/org-auto-tangle
commit 7e9842f1cbc78f0dad8e93e5720591ff35d08d38
Author: lispy-dobby <[email protected]>
Commit: GitHub <[email protected]>
Update README.org
---
README.org | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/README.org b/README.org
index ea105d00d1..76ac1adae4 100644
--- a/README.org
+++ b/README.org
@@ -17,7 +17,19 @@ Simply require the package in you emacs init and hook it
into org-mode.
(require 'org-auto-tangle)
-(add-hook 'org-mode-hook (org-auto-tangle-mode t))
+(add-hook 'org-mode-hook org-auto-tangle-mode)
+
+#+end_src
+
+or you can use use-package
+
+#+begin_src
+
+(use-package org-auto-tangle
+ :load-path "site-lisp/org-auto-tangle/" ;; this line is necessary only if
you cloned the repo in your site lisp directory
+ :defer t
+ :hook (org-mode . org-auto-tangle-mode)
+ )
#+end_src