summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-10-14 19:05:55 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:19 -0400
commita53f44ecdaf9051c9e7f64993787c88d98b5348a (patch)
tree5d3876db32ae57002ec870583c5acb623e4c34c4 /config.cc
parent50c689e1ae75a304ef7431fa489360076e837120 (diff)
downloadfork-ledger-a53f44ecdaf9051c9e7f64993787c88d98b5348a.tar.gz
fork-ledger-a53f44ecdaf9051c9e7f64993787c88d98b5348a.tar.bz2
fork-ledger-a53f44ecdaf9051c9e7f64993787c88d98b5348a.zip
Support has been added for clearing of individual transactions. Set
`ledger-clear-whole-entries' in Emacs to revert to the old behavior.
Diffstat (limited to 'config.cc')
-rw-r--r--config.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/config.cc b/config.cc
index 43426480..9bebfa7c 100644
--- a/config.cc
+++ b/config.cc
@@ -36,10 +36,10 @@ config_t::config_t()
"%48|%-.38A %22.108t %22.132T\n");
plot_amount_format = "%D %(St)\n";
plot_total_format = "%D %(ST)\n";
- print_format = "\n%D %X%C%P\n %-34A %12o%n\n%/ %-34A %12o%n\n";
- write_hdr_format = "%D %X%C%P\n";
- write_xact_format = " %-34A %12o%n\n";
- equity_format = "\n%D %X%C%P\n%/ %-34A %12t\n";
+ print_format = "\n%D %Y%C%P\n %-34W %12o%n\n%/ %-34W %12o%n\n";
+ write_hdr_format = "%D %Y%C%P\n";
+ write_xact_format = " %-34W %12o%n\n";
+ equity_format = "\n%D %Y%C%P\n%/ %-34W %12t\n";
#ifndef USE_BOOST_PYTHON
prices_format = "%[%Y/%m/%d %H:%M:%S %Z] %-10A %12t %12T\n";
#else
@@ -48,6 +48,9 @@ config_t::config_t()
#endif
pricesdb_format = "P %[%Y/%m/%d %H:%M:%S] %A %t\n";
+ predicate = "";
+ display_predicate = "";
+
head_entries = 0;
tail_entries = 0;