Commit ccd59305 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(url-insert-file-contents): Use the URL to decide the

encoding, not the buffer-file-name (which might not even exist).
parent c3bc41c2
2004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
* url-handlers.el (url-insert-file-contents): Use the URL to decide the
encoding, not the buffer-file-name (which might not even exist).
2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
* url-handlers.el (url-insert-file-contents): Decode contents.
......
......@@ -208,7 +208,7 @@ accessible."
;; annotation which we could use as a hint of the locale in use
;; at the remote site. Not sure how/if that should be done. --Stef
(decode-coding-inserted-region
start (point) buffer-file-name visit beg end replace)))
start (point) url visit beg end replace)))
(list url (length data))))
(defun url-file-name-completion (url directory)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment