]> git.eshelyaron.com Git - emacs.git/commitdiff
(url-have-visited-url): Don't barf if url-history-hash-table is nil.
authorEli Zaretskii <eliz@gnu.org>
Sat, 26 Feb 2005 15:23:43 +0000 (15:23 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 26 Feb 2005 15:23:43 +0000 (15:23 +0000)
lisp/url/ChangeLog
lisp/url/url-history.el

index 8bc7209749fa6ca631f1b799523bbe2e3e62807f..5a3bf23529c434e79f5f88ee9f05bec5d0d2fe5a 100644 (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.
index 6a2d87cfbc1364780101e291b6324ae87337e56b..e2bc9b17f69ce0820520599a28e18dd9e0f8ada8 100644 (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)