# HG changeset patch # User Chong Yidong # Date 1239835886 0 # Node ID 3c287035dd2c963d7a5cebacdd09ce230ed80d2b # Parent 9455676485553860838487eaef60307ca7b9d4fb * net/browse-url.el (browse-url-filename-alist): Correct file URI (Bug#2922). diff -r 945567648555 -r 3c287035dd2c lisp/ChangeLog --- 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 + + * net/browse-url.el (browse-url-filename-alist): Correct file + URI (Bug#2922). + 2009-04-15 Chong Yidong * subr.el (posn-col-row): Properly compute line spacing. diff -r 945567648555 -r 3c287035dd2c lisp/net/browse-url.el --- 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