branch: elpa/org-auto-tangle
commit c593c5d028a87ab58b1087e8877fd33f99f22a8a
Author: lispy-dobby <[email protected]>
Commit: GitHub <[email protected]>
added local to remove hook
---
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 019f898aa5..ceb2eb7bcf 100644
--- a/org-auto-tangle.el
+++ b/org-auto-tangle.el
@@ -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)