From 25450668978b07404ef5068e21f7133a8a7e9280 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 11 Nov 1994 13:34:04 +0000 Subject: [PATCH] (texinfo-format-node): Insert the node delimiter that info is looking for unconditionally. --- lisp/textmodes/texinfmt.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 60d6232a90e..d9cfffb3fd6 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el @@ -924,9 +924,8 @@ lower types.") (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)) -- 2.39.5