delete-directory
delete-directory is an interactive compiled Lisp function in `files.el
'.
(delete-directory DIRECTORY &optional RECURSIVE TRASH)
Delete the directory named DIRECTORY. Does not follow symlinks.
If RECURSIVE is non-nil, all files in DIRECTORY are deleted as well.
TRASH non-nil means to trash the directory instead, provided
`delete-by-moving-to-trash' is non-nil.
When called interactively, TRASH is t if no prefix argument is
given. With a prefix argument, TRASH is nil.