summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-03-02 09:19:42 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 05:48:43 -0400
commite6efa8421f11a17f2200be252c7d4c0023c04fff (patch)
tree442c6519967f99d901e6bd3cade9d1c262709dde /main.cc
parentf781dd566803a7cafb9bf079b15dd0453a103de4 (diff)
downloadfork-ledger-e6efa8421f11a17f2200be252c7d4c0023c04fff.tar.gz
fork-ledger-e6efa8421f11a17f2200be252c7d4c0023c04fff.tar.bz2
fork-ledger-e6efa8421f11a17f2200be252c7d4c0023c04fff.zip
Removed --disable-emacs.
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/main.cc b/main.cc
index b727b23b..7145a477 100644
--- a/main.cc
+++ b/main.cc
@@ -104,10 +104,8 @@ int parse_and_report(int argc, char * argv[], char * envp[])
command = "p";
else if (command == "output")
command = "w";
-#ifdef USE_EDITOR
else if (command == "emacs")
command = "x";
-#endif
else if (command == "xml")
command = "X";
else if (command == "entry")
@@ -245,10 +243,8 @@ int parse_and_report(int argc, char * argv[], char * envp[])
formatter = new set_account_value;
else if (command == "p" || command == "e")
formatter = new format_entries(*out, *format);
-#ifdef USE_EDITOR
else if (command == "x")
formatter = new format_emacs_transactions(*out);
-#endif
else if (command == "X") {
#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
formatter = new format_xml_entries(*out, config.show_totals);
@@ -259,10 +255,8 @@ int parse_and_report(int argc, char * argv[], char * envp[])
formatter = new format_transactions(*out, *format);
if (command == "w") {
-#ifdef USE_EDITOR
write_textual_journal(*journal, first_arg, *formatter,
config.write_hdr_format, *out);
-#endif
} else {
formatter = config.chain_xact_handlers(command, formatter, journal.get(),
journal->master, formatter_ptrs);