diff --git a/lisp/url/url-history.el b/lisp/url/url-history.el index 1fa085400d..af52d5861e 100644 --- a/lisp/url/url-history.el +++ b/lisp/url/url-history.el @@ -106,7 +106,7 @@ to run the `url-history-setup-save-timer' function manually." (defun url-history-update-url (url time) (setq url-history-changed-since-last-save t) - (puthash (if (vectorp url) (url-recreate-url url) url) time + (puthash (if (recordp url) (url-recreate-url url) url) time url-history-hash-table)) (autoload 'url-make-private-file "url-util")