Skip to content

Commit

Permalink
added local to remove hook
Browse files Browse the repository at this point in the history
  • Loading branch information
yilkalargaw authored Jan 31, 2021
1 parent 5cc3896 commit c593c5d
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 @@ -87,7 +87,7 @@
(if org-auto-tangle-mode
(add-hook 'after-save-hook 'org-auto-tangle-tangle-if-tag-exists
nil 'local)
(remove-hook 'after-save-hook 'org-auto-tangle-tangle-if-tag-exists)))
(remove-hook 'after-save-hook 'org-auto-tangle-tangle-if-tag-exists nil 'local)))

(provide 'org-auto-tangle)

Expand Down

0 comments on commit c593c5d

Please sign in to comment.