Commit ad637907 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

(barf_or_query_if_file_exists): Make the "File is a directory"

error be more correct.
parent c4f2d8d4
......@@ -3,6 +3,8 @@
* fileio.c (barf_or_query_if_file_exists): Check first if the file
is a directory before asking whether to use the file name
(bug#7564).
(barf_or_query_if_file_exists): Make the "File is a directory"
error be more correct.
* fns.c (Frequire): Remove the mention of the .gz files, since
that's installation-specific, but keep the mention of
......
......@@ -1757,7 +1757,7 @@ barf_or_query_if_file_exists (Lisp_Object absname, const char *querystring,
{
if (Ffile_directory_p (absname))
xsignal2 (Qfile_error,
build_string ("File name is a directory"), absname);
build_string ("File is a directory"), absname);
if (! interactive)
xsignal2 (Qfile_already_exists,
......
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