diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/info.el | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0db9e218c1d..fa5da5c1435 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * info.el (Info-insert-breadcrumbs): Be careful to preserve history. | ||
| 4 | |||
| 1 | 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * term/linux.el (terminal-init-linux): Load t-mouse. | 7 | * term/linux.el (terminal-init-linux): Load t-mouse. |
diff --git a/lisp/info.el b/lisp/info.el index ae62e9dd3f6..b274c8258a4 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -681,9 +681,8 @@ it says do not attempt further (recursive) error recovery." | |||
| 681 | ;; Record the node we are leaving, if we were in one. | 681 | ;; Record the node we are leaving, if we were in one. |
| 682 | (and (not no-going-back) | 682 | (and (not no-going-back) |
| 683 | Info-current-file | 683 | Info-current-file |
| 684 | (setq Info-history | 684 | (push (list Info-current-file Info-current-node (point)) |
| 685 | (cons (list Info-current-file Info-current-node (point)) | 685 | Info-history)) |
| 686 | Info-history))) | ||
| 687 | (Info-find-node-2 filename nodename no-going-back)) | 686 | (Info-find-node-2 filename nodename no-going-back)) |
| 688 | 687 | ||
| 689 | ;;;###autoload | 688 | ;;;###autoload |
| @@ -3726,8 +3725,9 @@ the variable `Info-file-list-for-emacs'." | |||
| 3726 | (let ((up (Info-extract-pointer "up"))) | 3725 | (let ((up (Info-extract-pointer "up"))) |
| 3727 | (push up crumbs) | 3726 | (push up crumbs) |
| 3728 | (setq depth (1- depth)) | 3727 | (setq depth (1- depth)) |
| 3729 | (Info-goto-node up))) | 3728 | (Info-find-node Info-current-file up 'no-going-back))) |
| 3730 | (Info-goto-node onode) | 3729 | (if crumbs ;Do bother going back if we haven't moved. |
| 3730 | (Info-find-node Info-current-file onode 'no-going-back)) | ||
| 3731 | ;; Add bottom node. | 3731 | ;; Add bottom node. |
| 3732 | (when Info-use-header-line | 3732 | (when Info-use-header-line |
| 3733 | ;; Let it disappear if crumbs is nil. | 3733 | ;; Let it disappear if crumbs is nil. |