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
  • Loading branch information
yilkalargaw authored Feb 13, 2021
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
Expand Up @@ -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")))
Expand Down

0 comments on commit be9007a

Please sign in to comment.