Function: Info-last-menu-item

Info-last-menu-item is an interactive and byte-compiled function defined in info.el.gz.

Signature

(Info-last-menu-item)

Documentation

Go to the node of the previous menu item.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/info.el.gz
(defun Info-last-menu-item ()
  "Go to the node of the previous menu item."
  (interactive nil Info-mode)
  (save-excursion
    (forward-line 1)
    ;; Bind this in case the user sets it to nil.
    (let* ((case-fold-search t)
	   (beg (save-excursion
		  (and (search-backward "\n* menu:" nil t)
		       (point)))))
      (or (and beg (search-backward "\n* " beg t))
	  (user-error "No previous items in menu")))
    (Info-goto-node (save-excursion
		      (goto-char (match-end 0))
		      (Info-extract-menu-node-name)))))