bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] CVS 21.1 browse-url.el Handle dos paths


From: Eli Zaretskii
Subject: Re: [patch] CVS 21.1 browse-url.el Handle dos paths
Date: Sat, 12 Jan 2002 16:04:32 +0200

> From: address@hidden (Jari Aalto+mail.emacs)
> Date: Sat, 12 Jan 2002 15:23:58 +0200
> 
> --- browse-url.el.1.17        Sat Jan 12 15:17:56 2002
> +++ browse-url.el     Sat Jan 12 15:19:24 2002
> @@ -372,7 +372,9 @@
>      (,@ (if (memq system-type '(windows-nt ms-dos))
>           '(("^\\([a-zA-Z]:\\)[\\/]" . "file:\\1/")
>                ("^[\\/][\\/]+" . "file://"))))
> -    ("^/+" . "file:/")))
> +    ("^/+" . "file:/")
> +    ;; Change dos paths as well
> +    ("^\\([a-zA-Z]\\):" . "file:///\\1:")))
>    "An alist of (REGEXP . STRING) pairs used by `browse-url-of-file'.

I don't understand: the original code already tries to handle this
case, right above your change.  Is there something wrong with that
code?  Am I missing something?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]