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

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

bug#11827: 24.1; file-relative-name fail on some MS Windows path


From: Xah Lee
Subject: bug#11827: 24.1; file-relative-name fail on some MS Windows path
Date: Sat, 30 Jun 2012 11:49:26 -0700

file-relative-name doesn't work on MS Windows style path when the
drive letter is capitalized.

(file-relative-name "C:/Users/web/xyz.html" "C:/Users/web/") ; returns
"C:/Users/web/xyz.html"
(file-relative-name "c:/Users/web/xyz.html" "c:/Users/web/") ; returns
"xyz.html"
(file-relative-name "/Users/web/xyz.html" "/Users/web/") ; returns "xyz.html"

GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN

 Xah





reply via email to

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