branch: elpa/beancount
commit ea8257881b7e276e8d170d724e3b2e179f25cb77
Author: Daniele Nicolodi <[email protected]>
Commit: Daniele Nicolodi <[email protected]>
Fix amount alignment on tab key press
---
beancount.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/beancount.el b/beancount.el
index bc19b49744..c1d76dfef9 100644
--- a/beancount.el
+++ b/beancount.el
@@ -605,8 +605,7 @@ will allow to align all numbers."
(unless (eq indent (current-indentation))
(if savep (save-excursion (indent-line-to indent))
(indent-line-to indent)))
- (unless (eq this-command 'beancount-tab-dwim)
- (beancount-align-number (beancount-number-alignment-column)))))
+ (beancount-align-number (beancount-number-alignment-column))))
(defun beancount-indent-region (start end)
"Indent a region automagically. START and END specify the region to indent."