diff options
author | John Wiegley <johnw@newartisans.com> | 2005-02-13 23:41:06 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:40:59 -0400 |
commit | b831ee1832ccc09212fbfc0fdc085effb10e7793 (patch) | |
tree | a07501344783e732e420e0c53b7d5cc0f9a22353 /ledger.el | |
parent | a12f4cdab72f2cb5d82745d29cc74b9bf04e4292 (diff) | |
download | fork-ledger-b831ee1832ccc09212fbfc0fdc085effb10e7793.tar.gz fork-ledger-b831ee1832ccc09212fbfc0fdc085effb10e7793.tar.bz2 fork-ledger-b831ee1832ccc09212fbfc0fdc085effb10e7793.zip |
(ledger-reconcile-save): Call `save-buffer', instead of trying to
write the file directly.
Diffstat (limited to 'ledger.el')
-rw-r--r-- | ledger.el | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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)) |