]> git.donarmstrong.com Git - bin.git/blobdiff - update_org_ical
pipe yes to emacs to avoid dumb questions
[bin.git] / update_org_ical
index d3031a9b4deaddcf4befd776fcd20082a6881eee..c60652070526380cfb1a759f7cd37c87d2ebc860 100755 (executable)
@@ -8,7 +8,7 @@ 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 \
+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\")" \