]> git.eshelyaron.com Git - emacs.git/commitdiff
Ignore errors when requiring nnweb and avoid a
authorDave Love <fx@gnu.org>
Mon, 27 Nov 2000 18:01:03 +0000 (18:01 +0000)
committerDave Love <fx@gnu.org>
Mon, 27 Nov 2000 18:01:03 +0000 (18:01 +0000)
compiler warning.

lisp/gnus/nnlistserv.el

index d6db1f3dec337418b03fcfddae1756bb02a2f99c..666cd70c7f048ecd9218117b0cf5195dc5ecaac7 100644 (file)
 (eval-when-compile (require 'cl))
 
 (require 'nnoo)
-(require 'nnweb)
+(eval-when-compile
+  (ignore-errors
+   (require 'nnweb))                   ; requires W3
+  (autoload 'url-insert-file-contents "nnweb"))
 
 (nnoo-declare nnlistserv
   nnweb)