From eec9b1a22999236b4f62faeeccd4af28a5f3413c Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 15 Feb 2018 16:24:50 -0800 Subject: [PATCH] allow for emacs to not save org buffers --- update_org_files | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \ -- 2.39.2