# HG changeset patch # User Eli Zaretskii # Date 1109431321 0 # Node ID a94bedf417a177cbd3db80009229c40ad3539233 # Parent 4104a4e7e5c256982c2006c8ea950124d77ddded (url-have-visited-url): Don't barf if url-history-hash-table is nil. diff -r 4104a4e7e5c2 -r a94bedf417a1 lisp/url/url-history.el --- 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)