mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-22 10:26:20 +00:00
(url-have-visited-url): Don't barf if url-history-hash-table is nil.
This commit is contained in:
parent
04ff38fb1c
commit
a6efc2c25d
@ -1,3 +1,8 @@
|
||||
2005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
|
||||
|
||||
* url-history.el (url-have-visited-url): Don't barf if
|
||||
url-history-hash-table is nil.
|
||||
|
||||
2005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
|
||||
|
||||
* url-http.el (url-http-parse-headers): Test url-automatic-caching.
|
||||
|
@ -164,7 +164,8 @@ user for what type to save as."
|
||||
|
||||
(defun url-have-visited-url (url)
|
||||
(url-do-setup)
|
||||
(gethash url url-history-hash-table nil))
|
||||
(and url-history-hash-table
|
||||
(gethash url url-history-hash-table nil)))
|
||||
|
||||
(defun url-completion-function (string predicate function)
|
||||
(url-do-setup)
|
||||
|
Loading…
Reference in New Issue
Block a user