branch: elpa/org-auto-tangle
commit be9007a23ac8cb80f4e32517f632065678513a3a
Author: lispy-dobby <[email protected]>
Commit: GitHub <[email protected]>

    corrected the arguments to org-auto-tangle-find-value function call
---
 org-auto-tangle.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-auto-tangle.el b/org-auto-tangle.el
index a6a6fdf9a5..79eaf9806f 100644
--- a/org-auto-tangle.el
+++ b/org-auto-tangle.el
@@ -86,7 +86,7 @@ Tangle will happen depending on the value of
 `org-auto-tangle-default' and on the presence and value of the
 `#+auto_tangle' keyword in the current buffer. If present,
 `#+auto_tangle' always overrides `org-auto-tangle-default'."
-  (let ((auto-tangle-kw (org-auto-tangle-find-value)))
+  (let ((auto-tangle-kw (org-auto-tangle-find-value (current-buffer))))
     (when (and (eq major-mode 'org-mode)
               (or (and auto-tangle-kw
                        (not (string= auto-tangle-kw "nil")))

Reply via email to