(url-file-local-copy): Tell url-copy-file that the dest file will already exist.

This commit is contained in:
Stefan Monnier 2006-08-25 20:44:49 +00:00
parent 7167d4092a
commit d0f891a742
3 changed files with 10 additions and 5 deletions

View file

@ -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

View file

@ -213,7 +213,7 @@ A prefix arg makes KEEP-TIME non-nil."
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)

View file

@ -868,8 +868,8 @@
2006-06-14 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (back_to_previous_visible_line_start): Reset
it->continuation_lines_width.
* xdisp.c (back_to_previous_visible_line_start):
Reset it->continuation_lines_width.
2006-06-14 Richard Stallman <rms@gnu.org>
@ -940,8 +940,8 @@
2006-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): Exclude
0x7f from ASCII range.
* macterm.c [USE_MAC_TSM] (mac_handle_text_input_event):
Exclude 0x7f from ASCII range.
2006-06-05 Jason Rumney <jasonr@gnu.org>