]> git.eshelyaron.com Git - emacs.git/commit
Add optional arg to delete-file to force deletion (Bug#6070).
authorChong Yidong <cyd@stupidchicken.com>
Mon, 3 May 2010 15:01:21 +0000 (11:01 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 3 May 2010 15:01:21 +0000 (11:01 -0400)
commit53967e09ad89f11531c7fee0240c2eac1f63922c
treec5442ddb118482959ce9e503ae48e71eb6758a52
parent1fada56353a7759495a3abb19d93235c040bccad
Add optional arg to delete-file to force deletion (Bug#6070).

* eval.c (internal_condition_case_n): Rename from
internal_condition_case_2.
(internal_condition_case_2): New function.

* xdisp.c (safe_call): Use internal_condition_case_n.

* fileio.c (Fdelete_file, internal_delete_file): New arg FORCE.
(internal_delete_file, Frename_file): Callers changed.

* buffer.c (Fkill_buffer):
* callproc.c (delete_temp_file): Callers changed (Bug#6070).

* lisp.h: Update prototypes.

* diff.el (diff-sentinel):

* epg.el (epg--make-temp-file, epg-decrypt-string)
(epg-verify-string, epg-sign-string, epg-encrypt-string):

* jka-compr.el (jka-compr-partial-uncompress)
(jka-compr-call-process, jka-compr-write-region, jka-compr-load):

* server.el (server-sentinel): Use delete-file's new FORCE arg
(Bug#6070).
13 files changed:
etc/NEWS
lisp/ChangeLog
lisp/diff.el
lisp/epg.el
lisp/jka-compr.el
lisp/server.el
src/ChangeLog
src/buffer.c
src/callproc.c
src/eval.c
src/fileio.c
src/lisp.h
src/xdisp.c