(Info-next-preorder): Let-bind `Info-history' to nil

before recursive call to `Info-next-preorder' to not add
intermediate nodes to the history.
This commit is contained in:
Juri Linkov 2008-05-11 20:32:33 +00:00
parent 3e7969807f
commit fd3d78f292
2 changed files with 18 additions and 2 deletions

View file

@ -1,3 +1,17 @@
2008-05-11 Juri Linkov <juri@jurta.org>
* wid-edit.el (widget-image-directory): Change default image data
subdirectory from "custom" to "images/custom".
* info.el (Info-next-preorder): Let-bind `Info-history' to nil
before recursive call to `Info-next-preorder' to not add
intermediate nodes to the history.
* isearch.el: Put isearch-scroll property on recenter-top-bottom.
* emulation/cua-base.el: Put isearch-scroll property
on cua-scroll-up and cua-scroll-down.
2008-05-11 Eric S. Raymond <esr@snark.thyrsus.com>
* vc-hooks.el (vc-recompute-state): Removed (dead code).

View file

@ -2526,8 +2526,10 @@ N is the digit argument used to invoke this command."
;; go up to the end of this node.
(goto-char (point-max))
;; Since logically we are done with the node with that menu,
;; move on from it.
(Info-next-preorder))
;; move on from it. But don't add intermediate nodes
;; to the history on recursive calls.
(let (Info-history)
(Info-next-preorder)))
(t
(error "No more nodes"))))