X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=update_org_ical;h=3f928d260933a9a87bf6ad8850787ca0640ddb2b;hb=96c6760a82404074d81d044ecfd691b154dca092;hp=eebb11a50a8cf1e9a05e88ebafc9bc363cde9608;hpb=e68445999cdb36227671a287439cc4c64f62e7e7;p=bin.git diff --git a/update_org_ical b/update_org_ical index eebb11a..3f928d2 100755 --- a/update_org_ical +++ b/update_org_ical @@ -7,6 +7,7 @@ LOCKOPTS=-q if [ -n "$PS1" ]; then LOCKOPTS=-f; fi; +with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical emacsclient -n -e '(org-save-all-org-buffers)' >/dev/null 2>&1 with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical emacs --batch -l ~/.emacs \ --eval '(setq org-icalendar-combined-description "Don Armstrong’s Calendar (org-mode)")' \ --eval '(setq org-icalendar-combined-name "Don Armstrong (org-mode)")' \