From be9007a23ac8cb80f4e32517f632065678513a3a Mon Sep 17 00:00:00 2001 From: lispy-dobby Date: Sat, 13 Feb 2021 21:17:33 +0000 Subject: [PATCH] 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 a6a6fdf..79eaf98 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")))