]> git.donarmstrong.com Git - bin.git/commitdiff
call update_org_files if we've made any changes
authorDon Armstrong <don@donarmstrong.com>
Fri, 16 Feb 2018 00:24:59 +0000 (16:24 -0800)
committerDon Armstrong <don@donarmstrong.com>
Fri, 16 Feb 2018 00:24:59 +0000 (16:24 -0800)
update_org_caldav

index f91d661261de4f44646713bbd660077c5ea19df9..a8b0b0b5b15e6c2945f8cd5b03db08eb9639902c 100755 (executable)
@@ -12,3 +12,6 @@ ${LOCKIT} ${TIMEOUT} mr -d ~/projects/org-notes up;
 ${LOCKIT} ${TIMEOUT} nice -n 19 \
           emacs --batch --no-init -l ~/org-caldav-setup.el \
           >/dev/null 2>&1
 ${LOCKIT} ${TIMEOUT} nice -n 19 \
           emacs --batch --no-init -l ~/org-caldav-setup.el \
           >/dev/null 2>&1
+## update org files if we've made any changes
+NO_SAVE_ORG_BUFFERS=1 ${LOCKIT} ${TIMEOUT} nice -n 19 \
+                   update_org_files "update_org_caldav";