Mercurial > emacs
changeset 23214:f075bf0ae873
(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.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 08 Sep 1998 12:47:39 +0000 |
parents | 3bfc1e9b0377 |
children | c06f07cf6bba |
files | lisp/gnus/nnweb.el |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gnus/nnweb.el Tue Sep 08 03:56:09 1998 +0000 +++ b/lisp/gnus/nnweb.el Tue Sep 08 12:47:39 1998 +0000 @@ -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)