summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-02-02 09:15:03 -0700
committerCraig Earls <enderw88@gmail.com>2013-02-02 09:15:03 -0700
commitcf76c2559904740e7ea7f99965c01814d3799349 (patch)
tree027e7e7c906d85f4a9efa90f3dfdb9f3419dc0a0 /lisp
parent7c618e541d4c1e5e4ac476b6724abf2ec97a38b2 (diff)
downloadledger-cf76c2559904740e7ea7f99965c01814d3799349.tar.gz
ledger-cf76c2559904740e7ea7f99965c01814d3799349.tar.bz2
ledger-cf76c2559904740e7ea7f99965c01814d3799349.zip
If there is no XACT code print blank, not "nil"
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ldg-reconcile.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ldg-reconcile.el b/lisp/ldg-reconcile.el
index 02d0662a..753c2fa5 100644
--- a/lisp/ldg-reconcile.el
+++ b/lisp/ldg-reconcile.el
@@ -172,7 +172,9 @@
(point-marker)))))))
(insert (format "%s %-4s %-30s %-30s %15s\n"
(format-time-string "%Y/%m/%d" (nth 2 item))
- (nth 3 item)
+ (if (nth 3 item)
+ (nth 3 item)
+ "")
(nth 4 item) (nth 1 xact) (nth 2 xact)))
(if (nth 3 xact)
(set-text-properties beg (1- (point))