Commit 9d1f18b5 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix bug #6396.

 files.el (make-directory): Doc fix.
parent 4176cba2
2010-06-12 Eli Zaretskii <eliz@gnu.org>
* files.el (make-directory): Doc fix (bug#6396).
2010-06-12 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-remote-process-environment): Protect version
......
......@@ -4635,16 +4635,17 @@ or multiple mail buffers, etc."
(force-mode-line-update))))
(defun make-directory (dir &optional parents)
"Create the directory DIR and any nonexistent parent dirs.
If DIR already exists as a directory, signal an error, unless PARENTS is set.
"Create the directory DIR and optionally any nonexistent parent dirs.
If DIR already exists as a directory, signal an error, unless
PARENTS is non-nil.
Interactively, the default choice of directory to create
is the current default directory for file names.
That is useful when you have visited a file in a nonexistent directory.
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 says whether
to create parent directories if they don't exist. Interactively,
this happens by default."
Noninteractively, the second (optional) argument PARENTS, if
non-nil, says whether to create parent directories that don't
exist. Interactively, this happens by default."
(interactive
(list (read-file-name "Make directory: " default-directory default-directory
nil nil)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment