This function is analagous to append-path, but works
on a directory as it's right-hand-side argument. That is,
the function computes the directory referred to when dir2
is interpreted relative to dir1
.
If dir2
is an absolute path, then it is returned. Otherwise,
a new directory-name object is constructed.