changeset 102984:3c287035dd2c

* net/browse-url.el (browse-url-filename-alist): Correct file URI (Bug#2922).
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 15 Apr 2009 22:51:26 +0000
parents 945567648555
children 3123154d96e0
files lisp/ChangeLog lisp/net/browse-url.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Apr 15 22:41:20 2009 +0000
+++ b/lisp/ChangeLog	Wed Apr 15 22:51:26 2009 +0000
@@ -1,3 +1,8 @@
+2009-04-15  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+	* net/browse-url.el (browse-url-filename-alist): Correct file
+	URI (Bug#2922).
+
 2009-04-15  Chong Yidong  <cyd@stupidchicken.com>
 
 	* subr.el (posn-col-row): Properly compute line spacing.
--- a/lisp/net/browse-url.el	Wed Apr 15 22:41:20 2009 +0000
+++ b/lisp/net/browse-url.el	Wed Apr 15 22:51:26 2009 +0000
@@ -446,7 +446,7 @@
     ,@(if (memq system-type '(windows-nt ms-dos cygwin))
           '(("^\\([a-zA-Z]:\\)[\\/]" . "file:\\1/")
             ("^[\\/][\\/]+" . "file://")))
-    ("^/+" . "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
 the corresponding STRING using `replace-match', not treating STRING