From 32483280976d345b9042ddcf89866e36ac4c0908 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 17 May 2006 22:54:35 +0000 Subject: [PATCH] (file-name-extension): Doc fix. --- lisp/files.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/files.el b/lisp/files.el index 16df2661fcf..2eaeae5ac86 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3062,6 +3062,7 @@ except that a leading `.', if any, doesn't count." (defun file-name-extension (filename &optional period) "Return FILENAME's final \"extension\". The extension, in a file name, is the part that follows the last `.', +excluding version numbers and backup suffixes, except that a leading `.', if any, doesn't count. Return nil for extensionless file names such as `foo'. Return the empty string for file names such as `foo.'. -- 2.39.5