Darryl Okahata writes:
Hrvoje Niksic <hniksic(a)srce.hr> wrote:
> Karl M. Hegbloom writes:
>> (concat (file-name-as-directory dir) file)
> This particular code works on Windows, but we might support other
file
> systems where this won't work, so the code is not really being nice.
What's the reason for this? The code doesn't appear to
be Unix or
Windows-specific. I've been writing code that uses `concat', and so I'd
like to know why it's not portable.
Because there could be system where this is not a valid file name.
While this works on Windows, Unix, and VMS, it may not always work.
`expand-file-name' will always work, no matter what system it is on.
--
Colin