summaryrefslogtreecommitdiff
path: root/lisp/ledger-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ledger-mode.el')
-rw-r--r--lisp/ledger-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ledger-mode.el b/lisp/ledger-mode.el
index ec1bc505..f89df45c 100644
--- a/lisp/ledger-mode.el
+++ b/lisp/ledger-mode.el
@@ -222,6 +222,7 @@ With a prefix argument, remove the effective date. "
(defun ledger-mode-clean-buffer ()
"indent, remove multiple linfe feeds and sort the buffer"
(interactive)
+ (untabify (point-min) (point-max))
(ledger-sort-buffer)
(ledger-post-align-postings (point-min) (point-max))
(ledger-mode-remove-extra-lines))