From 0d5dc4a5fafd5509fb6bca04a2fbe39fe45bd97e Mon Sep 17 00:00:00 2001 From: Dave Love Date: Tue, 8 Sep 1998 12:47:39 +0000 Subject: [PATCH] (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. --- lisp/gnus/nnweb.el | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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) -- 2.39.2