diff options
| -rw-r--r-- | lisp/url/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/url/url-handlers.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index fa6ce1945b1..7b38fb7ed11 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-09-13 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * url-handlers.el (url-copy-file): Add fifth arg for compatibility | ||
| 4 | with 2005-06-25 change to copy-file (Bug#4410). | ||
| 5 | |||
| 1 | 2009-09-13 Glenn Morris <rgm@gnu.org> | 6 | 2009-09-13 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * url-file.el (url-file): Avoid assignment to free variable `filename'. | 8 | * url-file.el (url-file): Avoid assignment to free variable `filename'. |
diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el index c06e841b2c8..2cf88e8f202 100644 --- a/lisp/url/url-handlers.el +++ b/lisp/url/url-handlers.el | |||
| @@ -215,7 +215,8 @@ the arguments that would have been passed to OPERATION." | |||
| 215 | 215 | ||
| 216 | ;; The actual implementation | 216 | ;; The actual implementation |
| 217 | ;;;###autoload | 217 | ;;;###autoload |
| 218 | (defun url-copy-file (url newname &optional ok-if-already-exists keep-time) | 218 | (defun url-copy-file (url newname &optional ok-if-already-exists |
| 219 | keep-time preserve-uid-gid) | ||
| 219 | "Copy URL to NEWNAME. Both args must be strings. | 220 | "Copy URL to NEWNAME. Both args must be strings. |
| 220 | Signals a `file-already-exists' error if file NEWNAME already exists, | 221 | Signals a `file-already-exists' error if file NEWNAME already exists, |
| 221 | unless a third argument OK-IF-ALREADY-EXISTS is supplied and non-nil. | 222 | unless a third argument OK-IF-ALREADY-EXISTS is supplied and non-nil. |
| @@ -223,6 +224,7 @@ A number as third arg means request confirmation if NEWNAME already exists. | |||
| 223 | This is what happens in interactive use with M-x. | 224 | This is what happens in interactive use with M-x. |
| 224 | Fourth arg KEEP-TIME non-nil means give the new file the same | 225 | Fourth arg KEEP-TIME non-nil means give the new file the same |
| 225 | last-modified time as the old one. (This works on only some systems.) | 226 | last-modified time as the old one. (This works on only some systems.) |
| 227 | Fifth arg PRESERVE-UID-GID is ignored. | ||
| 226 | A prefix arg makes KEEP-TIME non-nil." | 228 | A prefix arg makes KEEP-TIME non-nil." |
| 227 | (if (and (file-exists-p newname) | 229 | (if (and (file-exists-p newname) |
| 228 | (not ok-if-already-exists)) | 230 | (not ok-if-already-exists)) |