changeset 9896:a70b99926339

(texinfo-format-node): Insert the node delimiter that info is looking for unconditionally.
author Richard M. Stallman <rms@gnu.org>
date Fri, 11 Nov 1994 13:34:04 +0000
parents 924f7b9ce544
children 74814eb19d67
files lisp/textmodes/texinfmt.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/texinfmt.el	Fri Nov 11 07:35:27 1994 +0000
+++ b/lisp/textmodes/texinfmt.el	Fri Nov 11 13:34:04 1994 +0000
@@ -924,9 +924,8 @@
           (error "Duplicate node name: %s" name)
         (setq texinfo-node-names (cons (list tem) texinfo-node-names))))
     (setq texinfo-footnote-number 0)
-    (or (bolp)
-        (insert ?\n))
-    (insert "\^_\nFile: " texinfo-format-filename
+    ;; insert "\n\^_" unconditionally since this is what info is looking for
+    (insert "\n\^_\nFile: " texinfo-format-filename
             ", Node: " name)
     (if next
         (insert ", Next: " next))