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

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

[nongnu] elpa/org-auto-tangle be9007a23a 43/56: corrected the arguments


From: ELPA Syncer
Subject: [nongnu] elpa/org-auto-tangle be9007a23a 43/56: corrected the arguments to org-auto-tangle-find-value function call
Date: Mon, 6 Jun 2022 11:58:54 -0400 (EDT)

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

    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

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