(url-retrieve): Test url-history-track.
authorRichard M. Stallman <rms@gnu.org>
Thu, 1 Dec 2005 19:14:15 +0000 (19:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 1 Dec 2005 19:14:15 +0000 (19:14 +0000)
lisp/url/url.el

index 4a1e157..81d2d39 100644 (file)
@@ -148,7 +148,8 @@ already completed."
       (if buffer
          (with-current-buffer buffer
            (apply callback cbargs))))
-    (url-history-update-url url (current-time))
+    (if url-history-track
+       (url-history-update-url url (current-time)))
     buffer))
 
 (defun url-retrieve-synchronously (url)