Function: org-delete-directory

org-delete-directory is a function alias and interactive for delete-directory, defined in files.el.gz.

This command is obsolete since 9.0; use delete-directory instead.

Signature

(org-delete-directory DIRECTORY &optional RECURSIVE TRASH)

Documentation

Delete the directory named DIRECTORY. Does not follow symlinks.

If RECURSIVE is non-nil, delete files in DIRECTORY as well, with no error if something else is simultaneously deleting them. TRASH non-nil means to trash the directory instead, provided delete-by-moving-to-trash is non-nil.

When called interactively, TRASH is nil if and only if a prefix argument is given, and a further prompt asks the user for RECURSIVE if DIRECTORY is nonempty.

Key Bindings

Aliases

org-delete-directory (obsolete since 9.0)