Function: mkdir
mkdir is a function alias and interactive for make-directory, defined
in files.el.gz.
Signature
(mkdir DIR &optional PARENTS)
Documentation
Create the directory DIR and optionally any nonexistent parent dirs.
Interactively, the default choice of directory to create is the current buffer's default directory. That is useful when you have visited a file in a nonexistent directory.
Noninteractively, the second (optional) argument PARENTS, if non-nil, says whether to create parent directories that don't exist. Interactively, this happens by default.
Return non-nil if PARENTS is non-nil and DIR already exists as a directory, and nil if DIR did not already exist but was created. Signal an error if unsuccessful.
Probably introduced at or before Emacs version 23.1.
Key Bindings