Function: info-lookup-file

info-lookup-file is an autoloaded, interactive and byte-compiled function defined in info-look.el.gz.

Signature

(info-lookup-file FILE &optional MODE)

Documentation

Display the documentation of a file.

When this command is called interactively, it reads FILE from the minibuffer. In the minibuffer, use M-n (next-history-element) to yank the default file name into the minibuffer so you can edit it. The default file name is the one found at point.

With prefix arg MODE a query for the file help mode is offered.

Probably introduced at or before Emacs version 20.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/info-look.el.gz
;;;###autoload (put 'info-lookup-file 'info-file "emacs")
;;;###autoload
(defun info-lookup-file (file &optional mode)
  "Display the documentation of a file.
When this command is called interactively, it reads FILE from the minibuffer.
In the minibuffer, use \\<minibuffer-local-completion-map>\
\\[next-history-element] to yank the default file name
into the minibuffer so you can edit it.
The default file name is the one found at point.

With prefix arg MODE a query for the file help mode is offered."
  (interactive
   (info-lookup-interactive-arguments 'file current-prefix-arg))
  (info-lookup 'file file mode))