From: Lute Kamstra Date: Thu, 13 Nov 2008 05:29:24 +0000 (+0000) Subject: (File Name Components): Fix file-name-extension documentation. X-Git-Tag: emacs-pretest-23.0.90~1857 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c565c5c0f1157e1144bcead80276a3cee8b689c;p=emacs.git (File Name Components): Fix file-name-extension documentation. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index f9bd5d509c0..cc3d2b080e6 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2008-11-11 Lute Kamstra + + * files.texi (File Name Components): Fix file-name-extension + documentation. + 2008-11-11 Juanma Barranquero * frames.texi (Basic Parameters): Remove display-environment-variable diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index cb3acc19d83..58cc61108e7 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi @@ -1701,8 +1701,8 @@ return value, but backup version numbers are kept. 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