Don't assume url structs are vectors (Bug#27333)
* lisp/url/url-history.el (url-history-update-url): Use `url-p' instead of `vectorp'.
This commit is contained in:
parent
5d45ba1a05
commit
d3a208ea8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 (url-p url) (url-recreate-url url) url) time
|
||||
url-history-hash-table))
|
||||
|
||||
(autoload 'url-make-private-file "url-util")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue