diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-05-17 22:54:35 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-05-17 22:54:35 +0000 |
commit | 32483280976d345b9042ddcf89866e36ac4c0908 (patch) | |
tree | 07406c9426990f628079fb2a6c51b78e03518b07 /lisp/files.el | |
parent | 92daa8486fa0512c1a95e2c251a6432e1421ab36 (diff) | |
download | emacs-32483280976d345b9042ddcf89866e36ac4c0908.tar.gz |
(file-name-extension): Doc fix.
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 1 |
1 files changed, 1 insertions, 0 deletions
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.'. |