From: Amin Bandali Date: Mon, 13 Apr 2020 20:28:23 +0000 (-0400) Subject: Assimilate org-tanglesync af83a73 X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/fc9a59fbd64df571c8985d8996fb77a300eec016 Assimilate org-tanglesync af83a73 Useful for detecting external changes to tangled blocks upon edit. --- 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 index 0000000..af83a73 --- /dev/null +++ b/lib/org-tanglesync @@ -0,0 +1 @@ +Subproject commit af83a73ae542d5cb3c9d433cbf2ce1d4f4259117 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)