Next: Files, Previous: File Directories, Up: Directories—Files—Buffers [Index]
default-directory
— a variable representing the current buffer’s default
directory
file-name-directory
— the directory name of a file name (path) (ends with
a trailing slash ‘/’)
file-name-as-directory
— the directory name of a file name, or path (with
a slash)
file-name-nondirectory
— the filename of a path (everything after last
slash)
file-name-extension
— the filename’s extension
file-name-sans-extension
— the filename without its extension
directory-name-p
— true for a directory name
directory-file-name
— a directory file name (dirname) (file name without
a trailing slash)
file-name-absolute-p
— true if the file name is absolute
file-relative-name
— a relative file name in relation to a directory
expand-file-name
— expands to absolute an abbreviated file name
substitute-in-file-name
— expands environment variables in a file name
(path)
abbreviate-file-name
— abbreviates an absolute file or directory name
file-name-quote
— adds quote prefix to a file name
file-name-unquote
— removes quote prefix from a file name
file-name-quoted-p
— tests whether a file name is quoted
TODO
Next: Files, Previous: File Directories, Up: Directories—Files—Buffers [Index]