From: Lars Magne Ingebrigtsen Date: Wed, 13 Jul 2011 22:22:08 +0000 (+0200) Subject: (make-directory): Clarify that an error will be raised if there's an error X-Git-Tag: emacs-pretest-24.0.90~104^2~303 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd2fcc8d5cb29bfce6a4f30c8aa42feb3b24706f;p=emacs.git (make-directory): Clarify that an error will be raised if there's an error Fixes: debbugs:6387 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 17cbc948536..00a48ff73c1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -8,6 +8,9 @@ 2011-07-13 Lars Magne Ingebrigtsen + * files.el (make-directory): Clarify that an error will be raised + if there's an error (bug#6397). + * startup.el (initial-buffer-choice): Add `none' as a choice (bug#6234). diff --git a/lisp/files.el b/lisp/files.el index bf38ce39a07..0b253fcc297 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -4778,7 +4778,10 @@ 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." +exist. Interactively, this happens by default. + +If creating the directory or directories fail, an error will be +raised." (interactive (list (read-file-name "Make directory: " default-directory default-directory nil nil)