comparison src/ChangeLog @ 96489:b76b9628d74f

Changes from Toru Tsuneyoshi for using Trash can when deleting files. * files.el (backup-extract-version): Handle versioned directories. (trash-directory): New variable. (move-file-to-trash): New function. * cus-start.el (delete-by-moving-to-trash): Declare for custom. * lisp.h (Qdelete_file, Qdelete_directory): Declare extern. * fileio.c (delete_by_moving_to_trash, Qmove_file_to_trash): New vars. (syms_of_fileio): Initialize and export them. (Fdelete_directory, Fdelete_file): Optionally delete via trash. * w32fns.c (FOF_NO_CONNECTED_ELEMENTS): Define if not already. (Fsystem_move_file_to_trash): New function. (syms_of_w32fns): Export it to lisp.
author Jason Rumney <jasonr@gnu.org>
date Wed, 02 Jul 2008 13:19:07 +0000
parents fc17970f7da9
children c7a78d44a1d3
comparison
equal deleted inserted replaced
96488:a30459da1bd7 96489:b76b9628d74f
1 2008-07-02 Toru Tsuneyoshi <t_tuneyosi@hotmail.com>
2
3 * lisp.h (Qdelete_file, Qdelete_directory): Declare extern.
4
5 * fileio.c (delete_by_moving_to_trash, Qmove_file_to_trash): New vars.
6 (syms_of_fileio): Initialize and export them.
7 (Fdelete_directory, Fdelete_file): Optionally delete via trash.
8
9 * w32fns.c (FOF_NO_CONNECTED_ELEMENTS): Define if not already.
10 (Fsystem_move_file_to_trash): New function.
11 (syms_of_w32fns): Export it to lisp.
12
1 2008-07-01 Jason Rumney <jasonr@gnu.org> 13 2008-07-01 Jason Rumney <jasonr@gnu.org>
2 14
3 * w32font.c (w32font_text_extents): Don't count overhang as part 15 * w32font.c (w32font_text_extents): Don't count overhang as part
4 of width. 16 of width.
5 17