summaryrefslogtreecommitdiff
path: root/lisp/ledger-state.el
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2015-02-08 16:40:24 +0100
committerthdox <thdox@free.fr>2015-02-10 21:42:50 +0100
commit8162cc783da82b5383e6403c80930034582bb366 (patch)
tree98f5a4e1d305c6b74c8276619a2eef1f1690af5c /lisp/ledger-state.el
parentf8dd075e25fae467ad13776eb366a8eb4799f68a (diff)
downloadfork-ledger-8162cc783da82b5383e6403c80930034582bb366.tar.gz
fork-ledger-8162cc783da82b5383e6403c80930034582bb366.tar.bz2
fork-ledger-8162cc783da82b5383e6403c80930034582bb366.zip
[emacs] C-x h M-x untabify RET
C-x h M-x indent-region RET [ci skip]
Diffstat (limited to 'lisp/ledger-state.el')
-rw-r--r--lisp/ledger-state.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ledger-state.el b/lisp/ledger-state.el
index 47805f15..73e3c72c 100644
--- a/lisp/ledger-state.el
+++ b/lisp/ledger-state.el
@@ -114,8 +114,8 @@ dropped."
(when (not (eq (ledger-state-from-char (char-after)) 'comment))
(insert (ledger-char-from-state cur-status) " ")
(if (and (search-forward " " (line-end-position) t)
- (looking-at " "))
- (delete-char 2)))
+ (looking-at " "))
+ (delete-char 2)))
(forward-line))
(setq new-status nil)))