From b0834e5df23874fddffd6f56425872a64918b5ce Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 22 Oct 2009 17:50:29 +0200 Subject: [PATCH] Save mobile inbox buffer after applying the changes --- lisp/ChangeLog | 2 ++ lisp/org-mobile.el | 1 + 2 files changed, 3 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8a7fe7aa5..2efdc962f 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -2,6 +2,8 @@ * org-mobile.el (org-mobile-update-checksum-for-capture-file): Make sure the regexp search can fail without throwing an error. + (org-mobile-apply): Save the inbox buffer after removing + successfully applied changes. 2009-10-22 John Wiegley diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index 0a856d4e7..8e41260d0 100644 --- a/lisp/org-mobile.el +++ b/lisp/org-mobile.el @@ -686,6 +686,7 @@ If BEG and END are given, only do this in that region." ;; So remove the entry (goto-char bos-marker) (delete-region (point) (org-end-of-subtree t t)))))) + (save-buffer) (move-marker marker nil) (move-marker end nil) (message "%d new, %d edits, %d flags, %d errors" cnt-new