Mercurial > emacs
view etc/schema/xhtml-pres.rnc @ 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 | 38f93f3d00a2 |
children |
line wrap: on
line source
hr = element hr { hr.attlist } hr.attlist = Common.attrib Block.class |= hr b = element b { b.attlist, Inline.model } b.attlist = Common.attrib big = element big { big.attlist, Inline.model } big.attlist = Common.attrib i = element i { i.attlist, Inline.model } i.attlist = Common.attrib small = element small { small.attlist, Inline.model } small.attlist = Common.attrib sub = element sub { sub.attlist, Inline.model } sub.attlist = Common.attrib sup = element sup { sup.attlist, Inline.model } sup.attlist = Common.attrib tt = element tt { tt.attlist, Inline.model } tt.attlist = Common.attrib Inline.class |= b | big | i | small | sub | sup | tt