changeset 88192:f2fae8754f34

(rmail-process-new-messages): Don't require rmailkwd here, do it at toplevel instead.
author Henrik Enberg <henrik.enberg@telia.com>
date Tue, 17 Jan 2006 21:33:12 +0000
parents ce303d6c17eb
children ee955ad919b1
files lisp/mail/rmail.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Tue Jan 17 10:04:56 2006 +0000
+++ b/lisp/mail/rmail.el	Tue Jan 17 21:33:12 2006 +0000
@@ -46,7 +46,8 @@
 
 (eval-and-compile
   (require 'rmaildesc)
-  (require 'rmailhdr))
+  (require 'rmailhdr)
+  (require 'rmailkwd))
 
 (defvar deleted-head)
 (defvar font-lock-fontified)
@@ -2001,7 +2002,6 @@
           (when keywords
 	    ;; Keywords do exist.  Register them with the keyword
 	    ;; management library.
-	    (require 'rmailkwd)
 	    (rmail-keyword-register-keywords keywords))
 
 	  ;; Insure that we have From and Date headers.