Mercurial > emacs
diff lisp/url/url-handlers.el @ 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 | 00c538418054 |
children | e3694f1cb928 694bbb62a75d |
line wrap: on
line diff
--- 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)