summaryrefslogtreecommitdiff
path: root/lisp/textmodes/texinfmt.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-11-11 13:34:04 +0000
committerRichard M. Stallman <rms@gnu.org>1994-11-11 13:34:04 +0000
commit25450668978b07404ef5068e21f7133a8a7e9280 (patch)
tree181e923e5e5ce6c2f1dacd8c63f6cfb803b2fe2a /lisp/textmodes/texinfmt.el
parent8d4afcac1ef371a0d8ee2e075a10430f2fce402b (diff)
downloademacs-25450668978b07404ef5068e21f7133a8a7e9280.tar.gz
emacs-25450668978b07404ef5068e21f7133a8a7e9280.tar.bz2
emacs-25450668978b07404ef5068e21f7133a8a7e9280.zip
(texinfo-format-node): Insert the node delimiter
that info is looking for unconditionally.
Diffstat (limited to 'lisp/textmodes/texinfmt.el')
-rw-r--r--lisp/textmodes/texinfmt.el5
1 files 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))