changeset 72520:97366e4e79a5

(url-file-local-copy): Tell url-copy-file that the dest file will already exist.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 25 Aug 2006 20:41:06 +0000
parents 3a91203cdb2a
children 3b571ee389d0
files lisp/url/ChangeLog lisp/url/url-handlers.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/url/ChangeLog	Fri Aug 25 20:33:24 2006 +0000
+++ b/lisp/url/ChangeLog	Fri Aug 25 20:41:06 2006 +0000
@@ -1,3 +1,8 @@
+2006-08-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* url-handlers.el (url-file-local-copy): Tell url-copy-file that the
+	dest file will already exist.
+
 2006-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* url-util.el (url-hexify-string): Only utf-8 encode if it's
--- a/lisp/url/url-handlers.el	Fri Aug 25 20:33:24 2006 +0000
+++ b/lisp/url/url-handlers.el	Fri Aug 25 20:41:06 2006 +0000
@@ -213,7 +213,7 @@
 Returns the name of the local copy, or nil, if FILE is directly
 accessible."
   (let ((filename (make-temp-file "url")))
-    (url-copy-file url filename)
+    (url-copy-file url filename 'ok-if-already-exists)
     filename))
 
 (defun url-insert (buffer &optional beg end)