+2012-06-21 Chong Yidong <cyd@gnu.org>
+
+ * url.el (url-retrieve-internal): Fix last change (Bug#11627).
+
2012-06-13 Juanma Barranquero <lekktu@gmail.com>
* url-handlers.el (url-handler-regexp): Declare.
URL-encoded before it's used."
(url-do-setup)
(url-gc-dead-buffers)
- (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))