Commit 1beefde7 authored by Dave Love's avatar Dave Love
Browse files

file-name-extension

parent 19182f77
......@@ -1526,6 +1526,14 @@ value of @code{?/}.
@end defvar
@end ignore
@defun file-name-extension filename &optional period
This function returns @var{filename}'s final ``extension,'' if any,
after applying @code{file-name-sans-versions} to remove any
version/backup part. If @var{period} is non-nil, then the returned
value includes the period that delimits the extension, and if
@var{filename} has no extension, the value is @code{""}.
@end defun
@node Directory Names
@comment node-name, next, previous, up
@subsection Directory Names
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment