From dfe71ff181038af4628ae5df4431d9cd0ff21669 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 26 Dec 2013 20:53:59 -0800 Subject: [PATCH] automatically call mr and commit when necessary --- update_mobile_org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update_mobile_org b/update_mobile_org index 27f18e2..75cfc80 100755 --- a/update_mobile_org +++ b/update_mobile_org @@ -7,4 +7,6 @@ LOCKOPTS=-q if [ -n "$PS1" ]; then LOCKOPTS=-f; fi; +mr -d org-mode up; with-lock-ex $LOCKOPTS $TMPDIR/update_mobile_org emacs --batch -l ~/.emacs -f 'org-mobile-push' -f 'org-mobile-pull' +mr -d org-mode commit -m'org mobile automated commit and push'; -- 2.39.5