Mercurial > emacs
changeset 60258:a94bedf417a1
(url-have-visited-url): Don't barf if url-history-hash-table is nil.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 26 Feb 2005 15:22:01 +0000 |
parents | 4104a4e7e5c2 |
children | 04c26ff29449 |
files | lisp/url/url-history.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/url/url-history.el Sat Feb 26 05:33:56 2005 +0000 +++ b/lisp/url/url-history.el Sat Feb 26 15:22:01 2005 +0000 @@ -164,7 +164,8 @@ (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)