1
0
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:
Eli Zaretskii 2005-02-26 15:23:43 +00:00
parent 04ff38fb1c
commit a6efc2c25d
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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)