# HG changeset patch # User Stefan Monnier # Date 1257309205 0 # Node ID b7557958fa7d3fe9b40bb95010df77b450c7a2be # Parent 788b904aa868a64b9c2977032597c5c12c728991 Load mh-loaddefs during compilation as well. diff -r 788b904aa868 -r b7557958fa7d lisp/mh-e/ChangeLog --- a/lisp/mh-e/ChangeLog Wed Nov 04 04:32:04 2009 +0000 +++ b/lisp/mh-e/ChangeLog Wed Nov 04 04:33:25 2009 +0000 @@ -1,3 +1,7 @@ +2009-11-04 Stefan Monnier + + * mh-e.el: Load mh-loaddefs during compilation as well. + 2009-11-04 Juanma Barranquero * mh-e.el (mh-loaddefs): Load rather than require. diff -r 788b904aa868 -r b7557958fa7d lisp/mh-e/mh-e.el --- a/lisp/mh-e/mh-e.el Wed Nov 04 04:32:04 2009 +0000 +++ b/lisp/mh-e/mh-e.el Wed Nov 04 04:33:25 2009 +0000 @@ -92,7 +92,10 @@ ;; Provide functions to the rest of MH-E. However, mh-e.el must not ;; use any definitions in files that require mh-e from mh-loaddefs, ;; for if it does it will introduce a require loop. -(load "mh-loaddefs" nil 'nomessage) +(eval-and-compile + ;; Load it during compilation as well, since it defines the macro + ;; mh-require-cl. + (load "mh-loaddefs" nil 'nomessage)) (mh-require-cl)