emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r104943: (barf_or_query_if_file_exist


From: Lars Magne Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104943: (barf_or_query_if_file_exists): Make the "File is a directory"
Date: Mon, 04 Jul 2011 16:34:31 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104943
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Mon 2011-07-04 16:34:31 +0200
message:
  (barf_or_query_if_file_exists): Make the "File is a directory"
  error be more correct.
modified:
  src/ChangeLog
  src/fileio.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-07-04 13:44:52 +0000
+++ b/src/ChangeLog     2011-07-04 14:34:31 +0000
@@ -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

=== modified file 'src/fileio.c'
--- a/src/fileio.c      2011-07-04 13:44:52 +0000
+++ b/src/fileio.c      2011-07-04 14:34:31 +0000
@@ -1757,7 +1757,7 @@
     {
       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,


reply via email to

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