Assimilate org-tanglesync af83a73
authorAmin Bandali <bandali@gnu.org>
Mon, 13 Apr 2020 20:28:23 +0000 (16:28 -0400)
committerAmin Bandali <bandali@gnu.org>
Mon, 13 Apr 2020 20:28:23 +0000 (16:28 -0400)
Useful for detecting external changes to tangled blocks upon edit.

.gitmodules
lib/org-tanglesync [new submodule]
lisp/bandali-org.el

index bee832b..4ffaf5f 100644 (file)
@@ -56,6 +56,9 @@
        load-path = lisp
        load-path = contrib/lisp
        info-path = doc
        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
 [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 (submodule)
index 0000000..af83a73
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit af83a73ae542d5cb3c9d433cbf2ce1d4f4259117
index 9e45fa4..9938579 100644 (file)
@@ -91,4 +91,7 @@
  'safe-local-variable-values
  '(eval add-hook 'after-save-hook #'b/async-babel-tangle 'append 'local))
 
  '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)
 (provide 'bandali-org)