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

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

[nongnu] elpa/org-auto-tangle 7e9842f1cb 24/56: Update README.org


From: ELPA Syncer
Subject: [nongnu] elpa/org-auto-tangle 7e9842f1cb 24/56: Update README.org
Date: Mon, 6 Jun 2022 11:58:53 -0400 (EDT)

branch: elpa/org-auto-tangle
commit 7e9842f1cbc78f0dad8e93e5720591ff35d08d38
Author: lispy-dobby <yilkalargawworkneh@gmail.com>
Commit: GitHub <noreply@github.com>

    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
 



reply via email to

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