changeset 108977:2cb186cf98b1

Fix bug #6396. files.el (make-directory): Doc fix.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 12 Jun 2010 14:17:12 +0300
parents abd6714f59e4
children 580a6ea34172
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 15 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Jun 12 12:58:54 2010 +0200
+++ b/lisp/ChangeLog	Sat Jun 12 14:17:12 2010 +0300
@@ -1,3 +1,7 @@
+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
--- a/lisp/files.el	Sat Jun 12 12:58:54 2010 +0200
+++ b/lisp/files.el	Sat Jun 12 14:17:12 2010 +0300
@@ -4635,16 +4635,17 @@
       (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.
-
-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.
-
-Noninteractively, the second (optional) argument PARENTS says whether
-to create parent directories if they don't exist.  Interactively,
-this happens by default."
+  "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 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."
   (interactive
    (list (read-file-name "Make directory: " default-directory default-directory
 			 nil nil)