changeset 67236:7a5248410af9

(url-retrieve): Test url-history-track.
author Richard M. Stallman <rms@gnu.org>
date Thu, 01 Dec 2005 19:14:15 +0000
parents 47c70fd186b1
children 40f77d1e999e
files lisp/url/url.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/url/url.el	Thu Dec 01 17:43:33 2005 +0000
+++ b/lisp/url/url.el	Thu Dec 01 19:14:15 2005 +0000
@@ -148,7 +148,8 @@
       (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)