comparison lisp/ChangeLog @ 108244:2ee48fcc701c

Add FORCE argument to `delete-file'. * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun, forcing to delete the temporary file. (ange-ftp-delete-file): Add FORCE arg. (ange-ftp-rename-remote-to-remote) (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local) (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress): Force file deletion. * net/tramp-compat.el (tramp-compat-delete-file): New defun. * net/tramp.el (tramp-handle-delete-file): Add FORCE arg. (tramp-handle-make-symbolic-link, tramp-handle-load) (tramp-do-copy-or-rename-file-via-buffer) (tramp-do-copy-or-rename-file-directly) (tramp-do-copy-or-rename-file-out-of-band) (tramp-handle-process-file, tramp-handle-call-process-region) (tramp-handle-shell-command, tramp-handle-file-local-copy) (tramp-handle-insert-file-contents, tramp-handle-write-region) (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'. * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg. (tramp-fish-handle-make-symbolic-link) (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'. * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use `tramp-compat-delete-file'. * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg. (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'. * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg. (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'. * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg. (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy) (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use `tramp-compat-delete-file'.
author Michael Albinus <michael.albinus@gmx.de>
date Wed, 05 May 2010 12:20:23 +0200
parents be3f6d650654
children ea9732b429b6
comparison
equal deleted inserted replaced
108243:be3f6d650654 108244:2ee48fcc701c
1 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
2
3 Add FORCE argument to `delete-file'.
4
5 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
6 forcing to delete the temporary file.
7 (ange-ftp-delete-file): Add FORCE arg.
8 (ange-ftp-rename-remote-to-remote)
9 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress): Force
11 file deletion.
12
13 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
14
15 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
16 (tramp-handle-make-symbolic-link, tramp-handle-load)
17 (tramp-do-copy-or-rename-file-via-buffer)
18 (tramp-do-copy-or-rename-file-directly)
19 (tramp-do-copy-or-rename-file-out-of-band)
20 (tramp-handle-process-file, tramp-handle-call-process-region)
21 (tramp-handle-shell-command, tramp-handle-file-local-copy)
22 (tramp-handle-insert-file-contents, tramp-handle-write-region)
23 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
24
25 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
26 (tramp-fish-handle-make-symbolic-link)
27 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
28
29 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
30 `tramp-compat-delete-file'.
31
32 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
33 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
34
35 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
36 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
37
38 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
39 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
40 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
41 `tramp-compat-delete-file'.
42
1 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca> 43 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2 44
3 Minor cleanups. 45 Minor cleanups.
4 * subr.el (add-minor-mode): Use push. 46 * subr.el (add-minor-mode): Use push.
5 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name. 47 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.