From 15cb9968c09e7c265878fcc023a9168c9716dced Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 7 Feb 2014 20:53:52 -0800 Subject: [PATCH] * files.el (file-relative-name): Doc fix. Fixes: debbugs:15159 --- lisp/ChangeLog | 2 ++ lisp/files.el | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.39.2