Function: Info-restore-point

Info-restore-point is a byte-compiled function defined in info.el.gz.

Signature

(Info-restore-point HL)

Documentation

If this node has been visited, restore the point value when we left.

Source Code

;; Defined in /usr/src/emacs/lisp/info.el.gz
(defun Info-restore-point (hl)
  "If this node has been visited, restore the point value when we left."
  (while hl
    (if (and (equal (nth 0 (car hl)) Info-current-file)
	     ;; Use string-equal, not equal, to ignore text props.
	     (string-equal (nth 1 (car hl)) Info-current-node))
	(progn
	  (goto-char (nth 2 (car hl)))
	  (setq hl nil))		;terminate the while at next iter
      (setq hl (cdr hl)))))