Function: eww-open-file

eww-open-file is an autoloaded, interactive and byte-compiled function defined in eww.el.gz.

Signature

(eww-open-file FILE)

Documentation

Render FILE using EWW.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
;;;###autoload (defalias 'browse-web 'eww)

;;;###autoload
(defun eww-open-file (file)
  "Render FILE using EWW."
  (interactive "fFile: ")
  (let ((url-allow-non-local-files t))
    (eww (concat "file://"
                 (and (memq system-type '(windows-nt ms-dos))
		      "/")
                 (expand-file-name file)))))