emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/beancount ea8257881b 084/103: Fix amount alignment on tab


From: ELPA Syncer
Subject: [nongnu] elpa/beancount ea8257881b 084/103: Fix amount alignment on tab key press
Date: Mon, 29 Apr 2024 15:59:48 -0400 (EDT)

branch: elpa/beancount
commit ea8257881b7e276e8d170d724e3b2e179f25cb77
Author: Daniele Nicolodi <daniele@grinta.net>
Commit: Daniele Nicolodi <daniele@grinta.net>

    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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]