cc03afc
diff -up texinfo-5.2/info/info.c.orig texinfo-5.2/info/info.c
cc03afc
--- texinfo-5.2/info/info.c.orig	2014-01-16 08:55:50.084084818 +0100
cc03afc
+++ texinfo-5.2/info/info.c	2014-01-16 08:55:55.464112252 +0100
cc03afc
@@ -859,7 +859,13 @@ show_error_node (NODE *node)
cc03afc
 {
cc03afc
   if (info_error_rings_bell_p)
cc03afc
     terminal_ring_bell ();
cc03afc
-  if (!echo_area_is_active)
cc03afc
+  if (user_output_filename)
cc03afc
+    {
cc03afc
+      if (node->contents[node->nodelen - 1] == '\n')
cc03afc
+        node->contents[node->nodelen - 1] = 0;
cc03afc
+      info_error ("%s", node->contents);
cc03afc
+    }
cc03afc
+  else if (!echo_area_is_active)
cc03afc
     {
cc03afc
       free_echo_area ();
cc03afc
       window_set_node_of_window (the_echo_area, node);