fi;
mr -d ~/org-mode up;
with-lock-ex $LOCKOPTS $TMPDIR/update_mobile_org emacsclient -n -e '(org-save-all-org-buffers)' >/dev/null 2>&1
-with-lock-ex $LOCKOPTS $TMPDIR/update_mobile_org emacs --batch -l ~/.emacs \
+yes|with-lock-ex $LOCKOPTS $TMPDIR/update_mobile_org emacs --batch -l ~/.emacs \
--eval '(org-mobile-push)' --eval '(org-mobile-pull)' --eval '(org-save-all-org-buffers)';
mr -d ~/org-mode commit -m'org mobile automated commit and push';
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 \
+yes|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)")' \
--eval "(setq org-icalendar-combined-agenda-file \"$TMPDIR/org.ics\")" \