]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-process-new-messages): Don't require rmailkwd
authorHenrik Enberg <henrik.enberg@telia.com>
Tue, 17 Jan 2006 21:33:12 +0000 (21:33 +0000)
committerHenrik Enberg <henrik.enberg@telia.com>
Tue, 17 Jan 2006 21:33:12 +0000 (21:33 +0000)
here, do it at toplevel instead.

lisp/mail/rmail.el

index e03e68bb37b67deda99c6954f8dddd3e9c5c597d..e0bc137888201da7bfaae40e400554f9a4460d81 100644 (file)
@@ -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 @@ non-nil then do not show any progress messages."
           (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.