# HG changeset patch # User Gerd Moellmann # Date 989495655 0 # Node ID 16a7e84d5ff3461fd0356ca15b6ce90bbcdf3b76 # Parent ebd292552bfedde06a27a19cf6344fda77cdc30d (browse-url-filename-alist): Allow UNC file names for MS-Windows and MS-DOS. From Dan Holmsand . diff -r ebd292552bfe -r 16a7e84d5ff3 lisp/net/browse-url.el --- a/lisp/net/browse-url.el Thu May 10 03:52:13 2001 +0000 +++ b/lisp/net/browse-url.el Thu May 10 11:54:15 2001 +0000 @@ -331,7 +331,8 @@ ;; 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