bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6363: dired-create-directory doesn't say anything if directory alrea


From: jidanni
Subject: bug#6363: dired-create-directory doesn't say anything if directory already exists
Date: Mon, 07 Jun 2010 09:51:24 +0800

>>>>> "SM" == Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Try this, oh five times.
>> (dired-create-directory "/media/")
>> Yup, if the directory already exists, there is no error. Nothing.

SM> Why is that a problem?

Because it is an interactive command.
One wants proper

$ mkdir /media/
mkdir: cannot create directory `/media/': File exists

interactive feedback.

If you want -p style action, add an option and document it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]