[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file-relative-name returns "." instead of "./"
From: |
Richard M. Stallman |
Subject: |
Re: file-relative-name returns "." instead of "./" |
Date: |
Wed, 12 Oct 2005 12:24:27 -0400 |
M-: (file-relative-name "" default-directory)
This returns ".", but it should return "./" (IMO).
(file-relative-name "." default-directory) returns ".".
(file-relative-name "./" default-directory) returns "./".
I think those are both correct.
So which of those two cases is (file-relative-name "" default-directory)
most like? I am not sure. It is not obvious that the
current behavior is wrong.