START-INFO-DIR-ENTRY
This is ../../info/elisp, produced by makeinfo version 4.11 from elisp.texi.
I made the following change to fix this. Thanks for the report.
karl
--- cmds.c.~1.76.~ 2007-09-26 13:53:39.000000000 -0700
+++ cmds.c 2007-10-13 16:43:56.000000000 -0700
@@ -1633,6 +1633,10 @@
{
+ /* use add_* instead of insert_* because otherwise the
+ file header ("This is ...") will end up inside the
+ dir section markers. */
kill_self_indent (-1); /* make sure there's no indentation */
- insert_string ("INFO-DIR-SECTION ");
- insert_string (line);
- insert ('\n');
+ cm_noindent (); /* make sure again */
+ add_word ("INFO-DIR-SECTION ");
+ add_word (line);
+ add_char ('\n');
}