summaryrefslogtreecommitdiff
path: root/lisp/url/url-cache.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/url/url-cache.el')
-rw-r--r--lisp/url/url-cache.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/url/url-cache.el b/lisp/url/url-cache.el
index 192bbb2481f..a7247dfe10a 100644
--- a/lisp/url/url-cache.el
+++ b/lisp/url/url-cache.el
@@ -184,7 +184,7 @@ Very fast if you have an `md5' primitive function, suitably fast otherwise."
;; if it has been specified: e.g. http://www.example.com:80 will
;; be transcoded as http://www.example.com
(url-recreate-url
- (if (vectorp url) url
+ (if (url-p url) url
(url-generic-parse-url url)))))
;;;###autoload