]> git.donarmstrong.com Git - bin.git/blobdiff - update_org_caldav
call update_org_files if we've made any changes
[bin.git] / update_org_caldav
old mode 100644 (file)
new mode 100755 (executable)
index f91d661..a8b0b0b
@@ -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
+## 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";