diff options
author | Amin Bandali <bandali@gnu.org> | 2020-04-13 16:28:23 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2020-04-13 16:28:23 -0400 |
commit | fc9a59fbd64df571c8985d8996fb77a300eec016 (patch) | |
tree | 91eb723c7c4c03e1ab4a53abbb4ddc89fc8355bc | |
parent | fac1032c8088b37252bef5e1e07e03bf1e955c0b (diff) | |
download | configs-fc9a59fbd64df571c8985d8996fb77a300eec016.tar.gz configs-fc9a59fbd64df571c8985d8996fb77a300eec016.tar.xz configs-fc9a59fbd64df571c8985d8996fb77a300eec016.zip |
Assimilate org-tanglesync af83a73
Useful for detecting external changes to tangled blocks upon edit.
Diffstat (limited to '')
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | lib/org-tanglesync | 0 | ||||
-rw-r--r-- | lisp/bandali-org.el | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index bee832b..4ffaf5f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -56,6 +56,9 @@ load-path = lisp load-path = contrib/lisp info-path = doc +[submodule "org-tanglesync"] + path = lib/org-tanglesync + url = https://github.com/mtekman/org-tanglesync.el.git [submodule "packed"] path = lib/packed url = https://github.com/emacscollective/packed.git diff --git a/lib/org-tanglesync b/lib/org-tanglesync new file mode 160000 +Subproject af83a73ae542d5cb3c9d433cbf2ce1d4f425911 diff --git a/lisp/bandali-org.el b/lisp/bandali-org.el index 9e45fa4..9938579 100644 --- a/lisp/bandali-org.el +++ b/lisp/bandali-org.el @@ -91,4 +91,7 @@ 'safe-local-variable-values '(eval add-hook 'after-save-hook #'b/async-babel-tangle 'append 'local)) +(use-package org-tanglesync + :hook (org-mode . org-tanglesync-mode)) + (provide 'bandali-org) |