aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2009-04-15 22:51:26 +0000
committerChong Yidong <[email protected]>2009-04-15 22:51:26 +0000
commitdee8ac108452e32efb8c4542f4509c69c0e27d45 (patch)
tree922e8bb315bbc14fdf8a3cd9062e254c9535852c /lisp
parent7beba943eca576811305afdef5a471cee1f36fe6 (diff)
* net/browse-url.el (browse-url-filename-alist): Correct file
URI (Bug#2922).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/browse-url.el2
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