From: Don Armstrong Date: Fri, 16 Feb 2018 00:24:50 +0000 (-0800) Subject: allow for emacs to not save org buffers X-Git-Url: https://git.donarmstrong.com/?p=bin.git;a=commitdiff_plain;h=eec9b1a22999236b4f62faeeccd4af28a5f3413c allow for emacs to not save org buffers --- diff --git a/update_org_files b/update_org_files index 668f7e9..a17171b 100755 --- a/update_org_files +++ b/update_org_files @@ -13,7 +13,9 @@ if [ "x$UPDATE_ORG_REALLY_DO_IT" == "xyesdoit" ]; then fi; git pull; else - emacsclient -n -e '(org-save-all-org-buffers)' >/dev/null 2>&1 + if [ "x$NO_SAVE_ORG_BUFFERS" == "x" ]; then + emacsclient -n -e '(org-save-all-org-buffers)' >/dev/null 2>&1 + fi; UPDATE_ORG_REALLY_DO_IT="yesdoit" mr -d ~/projects/org-notes -j5 run \ update_org_files "$COMMIT_MESSAGE" UPDATE_ORG_REALLY_DO_IT="yesdoit" mr -d ~/org-mode -j5 run \