Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
25869acf
Commit
25869acf
authored
Sep 19, 1994
by
Richard M. Stallman
Browse files
(Info-insert-dir): Insert newlines before rather than
after nodes copied from other files, for consistency.
parent
f3ca341e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/info.el
lisp/info.el
+3
-3
No files found.
lisp/info.el
View file @
25869acf
...
...
@@ -475,14 +475,14 @@ In standalone mode, \\<Info-mode-map>\\[Info-exit] exits Emacs itself."
nil
t
)
(
progn
(
search-forward
"\n\^_"
nil
'move
)
(
beginning-of-line
))
(
beginning-of-line
)
(
insert
"\n"
))
;; If none exists, add one.
(
goto-char
(
point-max
))
(
insert
"\^_\nFile: dir\tNode: "
nodename
"\n\n* Menu:\n\n"
))
;; Merge the text from the other buffer's menu
;; into the menu in the like-named node in the main buffer.
(
apply
'insert-buffer-substring
(
cdr
(
car
nodes
)))
(
insert
"\n"
))
(
apply
'insert-buffer-substring
(
cdr
(
car
nodes
))))
(
setq
nodes
(
cdr
nodes
)))
;; Kill all the buffers we just made.
(
while
buffers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment