Function: Info-history-back

Info-history-back is an interactive and byte-compiled function defined in info.el.gz.

Signature

(Info-history-back)

Documentation

Go back in the history to the last node visited.

Probably introduced at or before Emacs version 22.1.

Key Bindings

Aliases

Info-last

Source Code

;; Defined in /usr/src/emacs/lisp/info.el.gz
(defun Info-history-back ()
  "Go back in the history to the last node visited."
  (interactive nil Info-mode)
  (or Info-history
      (user-error "This is the first Info node you looked at"))
  (let ((history-forward
	 (cons (list Info-current-file Info-current-node (point))
	       Info-history-forward))
	filename nodename opoint)
    (setq filename (car (car Info-history)))
    (setq nodename (car (cdr (car Info-history))))
    (setq opoint (car (cdr (cdr (car Info-history)))))
    (setq Info-history (cdr Info-history))
    (Info-find-node filename nodename)
    (setq Info-history (cdr Info-history))
    (setq Info-history-forward history-forward)
    (goto-char opoint)))