annotate src/pre-crt0.c @ 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 |
695cf19ef79e |
children |
375f2633d815 ef719132ddfa |
rev |
line source |
484
|
1 /* This file is loaded before crt0.o on machines where we do not
|
|
2 remap part of the data space into text space in unexec.
|
|
3 On these machines, there is no problem with standard crt0.o's
|
|
4 that make environ an initialized variable. However, we do
|
|
5 need to make sure the label data_start exists anyway. */
|
|
6
|
|
7 /* Create a label to appear at the beginning of data space. */
|
|
8
|
|
9 int data_start = 0;
|
52401
|
10
|
|
11 /* arch-tag: 2e260272-0790-495f-9362-55abd56b5c5a
|
|
12 (do not change this comment) */
|