From b831ee1832ccc09212fbfc0fdc085effb10e7793 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 13 Feb 2005 23:41:06 +0000 Subject: (ledger-reconcile-save): Call `save-buffer', instead of trying to write the file directly. --- ledger.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ledger.el') diff --git a/ledger.el b/ledger.el index 9772e9a8..b6c491e1 100644 --- a/ledger.el +++ b/ledger.el @@ -297,8 +297,7 @@ Return the difference in the format of a time value." (defun ledger-reconcile-save () (interactive) (with-current-buffer ledger-buf - (write-region (point-min) (point-max) (buffer-file-name) nil 1) - (set-buffer-modified-p nil)) + (save-buffer)) (set-buffer-modified-p nil) (ledger-display-balance)) -- cgit v1.2.3