From: Lars Ingebrigtsen Date: Sat, 8 Feb 2014 04:53:52 +0000 (-0800) Subject: * files.el (file-relative-name): Doc fix. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~108 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=15cb9968c09e7c265878fcc023a9168c9716dced;p=emacs.git * files.el (file-relative-name): Doc fix. Fixes: debbugs:15159 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9f8ff6a064d..3b7ae9cbe66 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2014-02-08 Lars Ingebrigtsen + * files.el (file-relative-name): Doc fix (bug#15159). + * fringe.el (fringe-styles): Doc fix (bug#15239). * isearch.el (isearch-filter-predicate): Documentation typo fix diff --git a/lisp/files.el b/lisp/files.el index cb873b4342f..a8b2a204094 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -4469,6 +4469,8 @@ Uses `backup-directory-alist' in the same way as does "Convert FILENAME to be relative to DIRECTORY (default: `default-directory'). This function returns a relative file name which is equivalent to FILENAME when used with that default directory as the default. +If FILENAME is a relative file name, it will be interpreted as existing in +`default-directory'. If FILENAME and DIRECTORY lie on different machines or on different drives on a DOS/Windows machine, it returns FILENAME in expanded form." (save-match-data