diff options
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/net/browse-url.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 88d37ed22a..9b5e6cd617 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-04-15 Katsumi Yamaoka <[email protected]> + + * net/browse-url.el (browse-url-filename-alist): Correct file + URI (Bug#2922). + 2009-04-15 Chong Yidong <[email protected]> * subr.el (posn-col-row): Properly compute line spacing. diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 82711a5b0b..8be8e00583 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -446,7 +446,7 @@ commands reverses the effect of this variable. Requires Netscape version ,@(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 |