Skip to content

Commit

Permalink
corrected the arguments to org-auto-tangle-find-value function call
Browse files Browse the repository at this point in the history
yilkalargaw authored Feb 13, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 13aaef2 commit be9007a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org-auto-tangle.el
Original file line number Diff line number Diff line change
@@ -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")))

0 comments on commit be9007a

Please sign in to comment.