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
c3a29d70
Commit
c3a29d70
authored
Mar 26, 1994
by
Richard M. Stallman
Browse files
(Info-insert-dir): Add a save-excursion.
Require menu items for subnodes to end in ::.
parent
c5a02c74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
lisp/info.el
lisp/info.el
+9
-6
No files found.
lisp/info.el
View file @
c3a29d70
...
...
@@ -408,12 +408,15 @@ In standalone mode, \\<Info-mode-map>\\[Info-exit] exits Emacs itself."
(
end
(
save-excursion
(
search-forward
"\^_"
nil
t
)
(
point
))))
(
while
nodes
(
let
((
nodename
(
car
(
car
nodes
))))
(
or
(
member
(
downcase
nodename
)
menu-items
)
(
re-search-forward
(
concat
"^\\* "
(
regexp-quote
nodename
)
":"
)
end
t
)
(
progn
(
insert
"* "
nodename
"::"
"\n"
)
(
setq
menu-items
(
cons
nodename
menu-items
)))))
(
save-excursion
(
or
(
member
(
downcase
nodename
)
menu-items
)
(
re-search-forward
(
concat
"^\\* "
(
regexp-quote
nodename
)
"::"
)
end
t
)
(
progn
(
insert
"* "
nodename
"::"
"\n"
)
(
setq
menu-items
(
cons
nodename
menu-items
))))))
(
setq
nodes
(
cdr
nodes
))))
;; Now take each node of each of the other buffers
;; and merge it into the main buffer.
...
...
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