Browse Source

Save mobile inbox buffer after applying the changes

Carsten Dominik 15 years ago
parent
commit
b0834e5df2
2 changed files with 3 additions and 0 deletions
  1. 2 0
      lisp/ChangeLog
  2. 1 0
      lisp/org-mobile.el

+ 2 - 0
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  <jwiegley@gmail.com>
 

+ 1 - 0
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