Require `rmail' only if RMAIL has been installed.
authoryamaoka <yamaoka>
Fri, 20 Nov 1998 05:32:28 +0000 (05:32 +0000)
committeryamaoka <yamaoka>
Fri, 20 Nov 1998 05:32:28 +0000 (05:32 +0000)
lisp/gnus-util.el

index 7dcfdc8..c64da68 100644 (file)
@@ -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")