[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/info.el,v
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/info.el,v |
Date: |
Sat, 14 Jun 2008 01:59:22 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Stefan Monnier <monnier> 08/06/14 01:59:21
Index: info.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/info.el,v
retrieving revision 1.533
retrieving revision 1.534
diff -u -b -r1.533 -r1.534
--- info.el 13 Jun 2008 20:34:26 -0000 1.533
+++ info.el 14 Jun 2008 01:59:21 -0000 1.534
@@ -681,9 +681,8 @@
;; Record the node we are leaving, if we were in one.
(and (not no-going-back)
Info-current-file
- (setq Info-history
- (cons (list Info-current-file Info-current-node (point))
- Info-history)))
+ (push (list Info-current-file Info-current-node (point))
+ Info-history))
(Info-find-node-2 filename nodename no-going-back))
;;;###autoload
@@ -3726,8 +3725,9 @@
(let ((up (Info-extract-pointer "up")))
(push up crumbs)
(setq depth (1- depth))
- (Info-goto-node up)))
- (Info-goto-node onode)
+ (Info-find-node Info-current-file up 'no-going-back)))
+ (if crumbs ;Do bother going back if we haven't moved.
+ (Info-find-node Info-current-file onode 'no-going-back))
;; Add bottom node.
(when Info-use-header-line
;; Let it disappear if crumbs is nil.
- [Emacs-diffs] Changes to emacs/lisp/info.el,v, Stefan Monnier, 2008/06/13
- [Emacs-diffs] Changes to emacs/lisp/info.el,v,
Stefan Monnier <=
- [Emacs-diffs] Changes to emacs/lisp/info.el,v, Stefan Monnier, 2008/06/14
- [Emacs-diffs] Changes to emacs/lisp/info.el,v, Juri Linkov, 2008/06/15
- [Emacs-diffs] Changes to emacs/lisp/info.el,v, Stefan Monnier, 2008/06/25