Function: Info-on-current-buffer

Info-on-current-buffer is an autoloaded, interactive and byte-compiled function defined in info.el.gz.

Signature

(Info-on-current-buffer &optional NODENAME)

Documentation

Use Info mode to browse the current Info buffer.

With a prefix arg, this queries for the node name to visit first; otherwise, that defaults to Top.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/info.el.gz
;;;###autoload
(defun Info-on-current-buffer (&optional nodename)
  "Use Info mode to browse the current Info buffer.
With a prefix arg, this queries for the node name to visit first;
otherwise, that defaults to `Top'."
  (interactive
   (list (if current-prefix-arg
	     (completing-read "Node name: " (Info-build-node-completions)
			      nil t "Top"))))
  (unless nodename (setq nodename "Top"))
  (info-initialize)
  (Info-mode)
  (setq Info-current-file
        (or buffer-file-name
            ;; If called on a non-file buffer, make a fake file name.
            (concat default-directory (buffer-name))))
  (Info--record-tag-table nodename)
  (Info-find-node-2 nil nodename))