Commit 670a1031 authored by Jason Rumney's avatar Jason Rumney
Browse files

(browse-url-filename-alist): Use , not ,@ to add DOS/Windows specific association.

parent 9023837e
......@@ -325,7 +325,7 @@ commands reverses the effect of this variable. Requires Netscape version
;; it in anonymous cases. If it's not anonymous the next regexp
;; applies.
("^/\\([^:@]+@\\)?\\([^:]+\\):/*" . "ftp://\\1\\2/")
,@(if (memq system-type '(windows-nt ms-dos))
,(if (memq system-type '(windows-nt ms-dos))
'("^\\([a-zA-Z]:\\)[\\/]" . "file:\\1/"))
("^/+" . "file:/"))
"An alist of (REGEXP . STRING) pairs used by `browse-url-of-file'.
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