Mercurial > emacs
changeset 70701:3279e0cf893a
(file-name-extension): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 17 May 2006 22:54:35 +0000 |
parents | 3cde28b591e8 |
children | b6ef71fed693 |
files | lisp/files.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Wed May 17 22:53:23 2006 +0000 +++ b/lisp/files.el Wed May 17 22:54:35 2006 +0000 @@ -3062,6 +3062,7 @@ (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.'.