lisp/net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
we run on MS-Windows or MS-DOS.
+2013-12-24 Eli Zaretskii <eliz@gnu.org>
+
+ * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
+ we run on MS-Windows or MS-DOS.
+
2013-12-24 Martin Rudalics <rudalics@gmx.at>
* window.el (balance-windows-area): Call window-size instead of
(defun eww-open-file (file)
"Render a file using EWW."
(interactive "fFile: ")
- (eww (concat "file://" (expand-file-name file))))
+ (eww (concat "file://"
+ (and (memq system-type '(windows-nt ms-dos))
+ "/")
+ (expand-file-name file))))
(defun eww-render (status url &optional point)
(let ((redirect (plist-get status :redirect)))