aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2009-10-01 23:17:39 +0000
committerJuanma Barranquero2009-10-01 23:17:39 +0000
commit64eb2b561c8e35a3a272a875193903ce709a7a6a (patch)
tree6575ea29253fe188050727f229de50259a3567ae /src
parentb938bbde4d0aadfdb2b0626656e5628022a8a294 (diff)
downloademacs-64eb2b561c8e35a3a272a875193903ce709a7a6a.tar.gz
emacs-64eb2b561c8e35a3a272a875193903ce709a7a6a.zip
* lisp.h (Qdelete_directory_internal):
Declare, instead of Qdelete_directory. * w32fns.c (Fsystem_move_file_to_trash): Use it.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/lisp.h2
-rw-r--r--src/w32fns.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index afdfff07562..cde4eb9dc9c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12009-10-01 Juanma Barranquero <lekktu@gmail.com>
2
3 * lisp.h (Qdelete_directory_internal):
4 Declare, instead of Qdelete_directory.
5
6 * w32fns.c (Fsystem_move_file_to_trash): Use it.
7
12009-10-01 Stefan Monnier <monnier@iro.umontreal.ca> 82009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2 9
3 * eval.c (Fcalled_interactively_p): Add `kind' argument. 10 * eval.c (Fcalled_interactively_p): Add `kind' argument.
diff --git a/src/lisp.h b/src/lisp.h
index f837708fea5..079a33e5fb5 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -2952,7 +2952,7 @@ extern void syms_of_fileio P_ ((void));
2952extern void init_fileio_once P_ ((void)); 2952extern void init_fileio_once P_ ((void));
2953extern Lisp_Object make_temp_name P_ ((Lisp_Object, int)); 2953extern Lisp_Object make_temp_name P_ ((Lisp_Object, int));
2954EXFUN (Fmake_symbolic_link, 3); 2954EXFUN (Fmake_symbolic_link, 3);
2955extern Lisp_Object Qdelete_directory; 2955extern Lisp_Object Qdelete_directory_internal;
2956extern Lisp_Object Qdelete_file; 2956extern Lisp_Object Qdelete_file;
2957 2957
2958/* Defined in abbrev.c */ 2958/* Defined in abbrev.c */
diff --git a/src/w32fns.c b/src/w32fns.c
index 8b6c6c21cd2..2b6b12e671c 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -6218,7 +6218,7 @@ DEFUN ("system-move-file-to-trash", Fsystem_move_file_to_trash,
6218 if (!NILP (Ffile_directory_p (filename)) 6218 if (!NILP (Ffile_directory_p (filename))
6219 && NILP (Ffile_symlink_p (filename))) 6219 && NILP (Ffile_symlink_p (filename)))
6220 { 6220 {
6221 operation = Qdelete_directory; 6221 operation = Qdelete_directory_internal;
6222 filename = Fdirectory_file_name (filename); 6222 filename = Fdirectory_file_name (filename);
6223 } 6223 }
6224 filename = Fexpand_file_name (filename, Qnil); 6224 filename = Fexpand_file_name (filename, Qnil);