Function: ido-make-directory
ido-make-directory is an interactive and byte-compiled function
defined in ido.el.gz.
Signature
(ido-make-directory &optional DIR)
Documentation
Prompt for DIR to create in current directory.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/ido.el.gz
(defun ido-make-directory (&optional dir)
"Prompt for DIR to create in current directory."
(interactive)
(unless dir
(let ((enable-recursive-minibuffers t))
(setq dir
(read-string (concat "Make directory: " ido-current-directory) ido-text))))
(when (> (length dir) 0)
(setq dir (concat ido-current-directory dir))
(unless (file-exists-p dir)
(make-directory dir t)
(ido-set-current-directory dir)
(setq ido-exit 'refresh)
(setq ido-text-init nil)
(setq ido-rotate-temp t)
(exit-minibuffer))))