Commit 74cb6a62 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(browse-url-filename-alist): Allow UNC file

names for MS-Windows and MS-DOS.  From Dan Holmsand
parent ea7974a6
......@@ -331,7 +331,8 @@ commands reverses the effect of this variable. Requires Netscape version
;; applies.
("^/\\([^:@]+@\\)?\\([^:]+\\):/*" . "ftp://\\1\\2/")
(,@ (if (memq system-type '(windows-nt ms-dos))
'(("^\\([a-zA-Z]:\\)[\\/]" . "file:\\1/"))))
'(("^\\([a-zA-Z]:\\)[\\/]" . "file:\\1/")
("^[\\/][\\/]+" . "file://"))))
("^/+" . "file:/")))
"An alist of (REGEXP . STRING) pairs used by `browse-url-of-file'.
Any substring of a filename matching one of the REGEXPs is replaced by
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment