From: yamaoka Date: Fri, 20 Nov 1998 05:32:28 +0000 (+0000) Subject: Require `rmail' only if RMAIL has been installed. X-Git-Tag: gnus-6_8-199811302358~9 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8daec58b25b51d1bd14419ba4d769882d287c6d3;p=elisp%2Fgnus.git- Require `rmail' only if RMAIL has been installed. --- diff --git a/lisp/gnus-util.el b/lisp/gnus-util.el index 7dcfdc8..c64da68 100644 --- a/lisp/gnus-util.el +++ b/lisp/gnus-util.el @@ -35,7 +35,8 @@ (require 'nnheader) (require 'timezone) (require 'message) -(eval-when-compile (require 'rmail)) +(when (locate-library "rmail") + (eval-when-compile (require 'rmail))) (eval-and-compile (autoload 'nnmail-date-to-time "nnmail")