emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use


From: Stefan Monnier
Subject: Re: emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://.
Date: Thu, 27 Jun 2019 19:48:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> -                 (url-file (url-generic-parse-url (concat "file://" file))
> +                 (url-file (url-generic-parse-url (concat "file:///" file))

So based on this discussion, I guess what this means is that using
a plain `concat` can't be right: for Windows-style name "c:/foo/bar"
we should use `(concat "file:///" file)`, whereas for POSIX-style file
names "/foo/bar" we should use `(concat "file://" file)`.


        Stefan




reply via email to

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