From 4c565c5c0f1157e1144bcead80276a3cee8b689c Mon Sep 17 00:00:00 2001 From: Lute Kamstra Date: Thu, 13 Nov 2008 05:29:24 +0000 Subject: [PATCH] (File Name Components): Fix file-name-extension documentation. --- doc/lispref/ChangeLog | 5 +++++ doc/lispref/files.texi | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.39.2