1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

(make-directory): Clarify that an error will be raised if there's an error

Fixes: debbugs:6387
This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-14 00:22:08 +02:00
parent bee0fcef3d
commit bd2fcc8d5c
2 changed files with 7 additions and 1 deletions

View file

@ -8,6 +8,9 @@
2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
* 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).

View file

@ -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)