>>>> "Darryl" == Darryl Okahata
<darrylo(a)sr.hp.com> writes:
> Is there a system independend way to concatenate directories in
> the XEmacs (eg: (concat-dirs "/usr/local" "man/man1") =>
> "/usr/local/man/man1")?
According to Hrvoje Niksic <hniksic(a)srce.hr>, one should
use:
(expand-file-name "man/man1" "/usr/local")
Puh. I`d never expected that this function does the job of converting
pathnames between systems. There should be at least a hint in it's
documentation.
The following example shows, which problems will propably hit the
XEmacs in the future, when MS-DOS pertubed people are going to write
elisp programs ...
(expand-file-name "man\man1" "\usr\local")
=> "/home/muenkel/data/docs/mail/Inbox/usrlocal/manman1"