Mercurial > emacs
comparison etc/NEWS @ 108223:261591829d04
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).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 03 May 2010 11:01:21 -0400 |
parents | 41a25ee89427 |
children | 731a16c5bb20 |
comparison
equal
deleted
inserted
replaced
108222:ca0eca33fb40 | 108223:261591829d04 |
---|---|
106 | 106 |
107 | 107 |
108 * Editing Changes in Emacs 24.1 | 108 * Editing Changes in Emacs 24.1 |
109 | 109 |
110 ** completion-at-point is now an alias for complete-symbol. | 110 ** completion-at-point is now an alias for complete-symbol. |
111 | |
112 ** mouse-region-delete-keys has been deleted. | |
113 | |
114 ** If delete-file is called with a prefix argument, it really deletes, | |
115 regardless of the value of `delete-by-moving-to-trash'. | |
111 | 116 |
112 | 117 |
113 * Changes in Specialized Modes and Packages in Emacs 24.1 | 118 * Changes in Specialized Modes and Packages in Emacs 24.1 |
114 | 119 |
115 ** Archive Mode has basic support to browse 7z archives. | 120 ** Archive Mode has basic support to browse 7z archives. |
179 ** Passing a nil argument to a minor mode function now turns the mode | 184 ** Passing a nil argument to a minor mode function now turns the mode |
180 ON unconditionally. | 185 ON unconditionally. |
181 | 186 |
182 * Lisp changes in Emacs 24.1 | 187 * Lisp changes in Emacs 24.1 |
183 | 188 |
189 ** delete-file now accepts an optional second arg, FORCE, which says | |
190 to always delete and ignore the value of delete-by-moving-to-trash. | |
191 | |
184 ** buffer-substring-filters is obsoleted by filter-buffer-substring-functions. | 192 ** buffer-substring-filters is obsoleted by filter-buffer-substring-functions. |
185 | 193 |
186 ** New completion style `substring'. | 194 ** New completion style `substring'. |
187 | 195 |
188 ** Image API | 196 ** Image API |