Mercurial > emacs
changeset 99526:5e92b1aa0a1d
(File Name Components): Fix file-name-extension documentation.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Thu, 13 Nov 2008 05:29:05 +0000 |
parents | 108f909f2676 |
children | fdc6e75513bb |
files | doc/lispref/files.texi |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/files.texi Thu Nov 13 05:03:33 2008 +0000 +++ b/doc/lispref/files.texi Thu Nov 13 05:29:05 2008 +0000 @@ -1701,8 +1701,8 @@ This function returns @var{filename}'s final ``extension,'' if any, after applying @code{file-name-sans-versions} to remove any version/backup part. The extension, in a file name, is the part that -starts with the last @samp{.} in the last name component (minus -any version/backup part). +follows the last @samp{.} in the last name component (minus any +version/backup part). This function returns @code{nil} for extensionless file names such as @file{foo}. It returns @code{""} for null extensions, as in