* lisp.h (Qdelete_directory_internal):
Declare, instead of Qdelete_directory. * w32fns.c (Fsystem_move_file_to_trash): Use it.
This commit is contained in:
parent
b938bbde4d
commit
64eb2b561c
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-10-01 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* lisp.h (Qdelete_directory_internal):
|
||||
Declare, instead of Qdelete_directory.
|
||||
|
||||
* w32fns.c (Fsystem_move_file_to_trash): Use it.
|
||||
|
||||
2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* eval.c (Fcalled_interactively_p): Add `kind' argument.
|
||||
|
|
|
@ -2952,7 +2952,7 @@ extern void syms_of_fileio P_ ((void));
|
|||
extern void init_fileio_once P_ ((void));
|
||||
extern Lisp_Object make_temp_name P_ ((Lisp_Object, int));
|
||||
EXFUN (Fmake_symbolic_link, 3);
|
||||
extern Lisp_Object Qdelete_directory;
|
||||
extern Lisp_Object Qdelete_directory_internal;
|
||||
extern Lisp_Object Qdelete_file;
|
||||
|
||||
/* Defined in abbrev.c */
|
||||
|
|
|
@ -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;
|
||||
operation = Qdelete_directory_internal;
|
||||
filename = Fdirectory_file_name (filename);
|
||||
}
|
||||
filename = Fexpand_file_name (filename, Qnil);
|
||||
|
|
Loading…
Add table
Reference in a new issue