Commit a3f10d3e authored by Chong Yidong's avatar Chong Yidong

* url.el (url-retrieve-internal): Fix last change.

Fixes: debbugs:11627
parent ac1a0ce1
2012-06-21 Chong Yidong <>
* url.el (url-retrieve-internal): Fix last change (Bug#11627).
2012-06-13 Juanma Barranquero <>
* url-handlers.el (url-handler-regexp): Declare.
......@@ -180,9 +180,9 @@ If URL is a multibyte string, it will be encoded as utf-8 and
URL-encoded before it's used."
(if (stringp url)
(set-text-properties 0 (length url) nil url))
(setq url (url-encode-url url))
(when (stringp url)
(set-text-properties 0 (length url) nil url)
(setq url (url-encode-url url)))
(if (not (vectorp url))
(setq url (url-generic-parse-url url)))
(if (not (functionp callback))
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