From: Dave Love Date: Tue, 8 Sep 1998 12:47:39 +0000 (+0000) Subject: (require): Wrap requirement of w3 and url in X-Git-Tag: emacs-20.4~1735 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d5dc4a5fafd5509fb6bca04a2fbe39fe45bd97e;p=emacs.git (require): Wrap requirement of w3 and url in ignore-errors too, eval'd when compile. Require w3 stuff at load time for nicer failure if it's not available. --- diff --git a/lisp/gnus/nnweb.el b/lisp/gnus/nnweb.el index 6c09a76ba46..044fe10bf2a 100644 --- a/lisp/gnus/nnweb.el +++ b/lisp/gnus/nnweb.el @@ -37,8 +37,16 @@ (require 'w3) (require 'url) (require 'nnmail) -(ignore-errors - (require 'w3-forms)) +(eval-when-compile + (ignore-errors + (require 'w3) + (require 'url) + (require 'w3-forms))) +;; Report failure to find w3 at load time if appropriate. +(eval '(progn + (require 'w3) + (require 'url) + (require 'w3-forms))) (nnoo-declare nnweb)