Heiko Muenkel wrote:
Is there a system independend way to concatenate directories in the
XEmacs (eg: (concat-dirs "/usr/local" "man/man1") =>
"/usr/local/man/man1")?
I'm asking, because I think, that without such a function code like
the following
(concat dir1 "/" dir2)
will break on systems like MSDOS or NT
I'm not aware of such a function. However
(concat (file-name-as-directory dir1) dir2)
will do the right thing.
- or is there an automatic
conversion of pathes from "/usr/local/man/man1" to
"\usr\local\man\man1" on DOS systems?
MS windows systems will accept '/'s in paths, but paths containing '/'
will look weird to the user. expand-file-name is the only function that
converts '/'s to '\'s.
Jonathan.
--
Jonathan Harris | jhar(a)tardis.ed.ac.uk
London, England | Jonathan.Harris(a)symbian.com