Mercurial > hg > xemacs-beta
diff man/lispref/files.texi @ 136:b980b6286996 r20-2b2
Import from CVS: tag r20-2b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:31:12 +0200 |
parents | 131b0175ea99 |
children | 1856695b1fa9 |
line wrap: on
line diff
--- a/man/lispref/files.texi Mon Aug 13 09:30:13 2007 +0200 +++ b/man/lispref/files.texi Mon Aug 13 09:31:12 2007 +0200 @@ -1567,8 +1567,7 @@ @defun file-relative-name filename &optional directory This function does the inverse of expansion---it tries to return a relative name that is equivalent to @var{filename} when interpreted -relative to @var{directory}. (If such a relative name would be longer -than the absolute name, it returns the absolute name instead.) +relative to @var{directory}. @c XEmacs feature? If @var{directory} is @code{nil} or omitted, the value of @@ -1578,7 +1577,7 @@ (file-relative-name "/foo/bar" "/foo/") @result{} "bar") (file-relative-name "/foo/bar" "/hack/") - @result{} "/foo/bar") + @result{} "../foo/bar") @end example @end defun