merge from no gnus
[gnus] / lisp / gnus-art.el
index 7305839..32399e1 100644 (file)
@@ -45,7 +45,6 @@
 (require 'mm-uu)
 (require 'message)
 (require 'mouse)
-(require 'url-queue)
 
 (autoload 'gnus-msg-mail "gnus-msg" nil t)
 (autoload 'gnus-button-mailto "gnus-msg")
@@ -4584,7 +4583,8 @@ commands:
       (cancel-timer timer))))
 
 (defun gnus-stop-downloads ()
-  (setq url-queue nil))
+  (when (boundp 'url-queue)
+    (set (intern "url-queue" obarray) nil)))
 
 ;; Set article window start at LINE, where LINE is the number of lines
 ;; from the head of the article.