Commit fb65091f authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Info-next-preorder, Info-next-preorder-1):

When moving up, advance to next menu item.
parent 6b8b57db
......@@ -1101,7 +1101,8 @@ N is the digit argument used to invoke this command."
(interactive)
(cond ((Info-no-error (Info-next-menu-item)))
((Info-no-error (Info-up))
(forward-line 1))
(forward-line 1)
(and (re-search-forward "^\\*" nil t) (beginning-of-line)))
(t
(error "No more nodes"))))
......@@ -1111,7 +1112,8 @@ N is the digit argument used to invoke this command."
(cond ((Info-no-error (Info-next-menu-item)))
((Info-no-error (Info-next)))
((Info-no-error (Info-up))
(forward-line 1))
(forward-line 1)
(and (re-search-forward "^\\*" nil t) (beginning-of-line)))
(t
(error "No more nodes"))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment