]> git.eshelyaron.com Git - emacs.git/commitdiff
* w32fns.c (Fsystem_move_file_to_trash): Use delete-directory.
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 2 Oct 2009 06:01:32 +0000 (06:01 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 2 Oct 2009 06:01:32 +0000 (06:01 +0000)
src/ChangeLog
src/w32fns.c

index cde4eb9dc9cb3a160d5447888ba2fe7ef42c71f8..4226e20fd1b0b1634b4f69ab1c100e1d65bb0c24 100644 (file)
@@ -1,3 +1,10 @@
+2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
+
+       * lisp.h (Qdelete_directory_internal): Removed, because it is not
+       used anymore outside fileio.c.
+
+       * w32fns.c (Fsystem_move_file_to_trash): Use delete-directory.
+
 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
 
        * lisp.h (Qdelete_directory_internal):
index 2b6b12e671ca5f19d2aa9e4aa709f2b796bf52b8..8003d7917191e73e945fcb4c921333cca8135e85 100644 (file)
@@ -6218,7 +6218,7 @@ DEFUN ("system-move-file-to-trash", Fsystem_move_file_to_trash,
   if (!NILP (Ffile_directory_p (filename))
       && NILP (Ffile_symlink_p (filename)))
     {
-      operation = Qdelete_directory_internal;
+      operation = intern ("delete-directory");
       filename = Fdirectory_file_name (filename);
     }
   filename = Fexpand_file_name (filename, Qnil);