X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=update_org_caldav;h=a8b0b0b5b15e6c2945f8cd5b03db08eb9639902c;hb=8e96ca5f3147601cbe8028b761496f049b875f76;hp=f91d661261de4f44646713bbd660077c5ea19df9;hpb=443d86e9e67094c9793478ba452bfb6b94b5c4b5;p=bin.git diff --git a/update_org_caldav b/update_org_caldav index f91d661..a8b0b0b 100755 --- a/update_org_caldav +++ b/update_org_caldav @@ -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";