get_error_routing_to_terminal() returns true.
+Sat Nov 4 15:48:04 2006 Ben Pfaff <blp@gnu.org>
+
+ * msg-ui.c (handle_msg): Only write message to terminal if
+ get_error_routing_to_terminal() returns true.
+
Fri Jul 7 20:03:42 2006 Ben Pfaff <blp@gnu.org>
* main.c: (main) Register SIGABRT with bug_handler also.
ds_put_cstr (&string, m->text);
- /* FIXME: Check set_messages and set_errors to determine where to
- send errors and messages. */
- dump_message (ds_cstr (&string), get_viewwidth (), 8, stdout);
+ if (get_error_routing_to_terminal ())
+ dump_message (ds_cstr (&string), get_viewwidth (), 8, stdout);
ds_destroy (&string);
}