From 8e96ca5f3147601cbe8028b761496f049b875f76 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 15 Feb 2018 16:24:59 -0800 Subject: [PATCH] call update_org_files if we've made any changes --- update_org_caldav | 3 +++ 1 file changed, 3 insertions(+) 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"; -- 2.39.2