* 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
{
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,