From: Jason Rumney Date: Tue, 12 Sep 2000 20:21:39 +0000 (+0000) Subject: (browse-url-filename-alist): Use , not ,@ to add DOS/Windows specific association. X-Git-Tag: emacs-pretest-21.0.90~1641 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=670a1031e9cade23f2c1baca1481eadd049b94dd;p=emacs.git (browse-url-filename-alist): Use , not ,@ to add DOS/Windows specific association. --- diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 57a28b5e536..27b7aabb095 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -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'.