changeset 105851:b7557958fa7d

Load mh-loaddefs during compilation as well.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 04 Nov 2009 04:33:25 +0000
parents 788b904aa868
children 69c90cb0d1e3
files lisp/mh-e/ChangeLog lisp/mh-e/mh-e.el
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <monnier@iro.umontreal.ca>
+
+	* mh-e.el: Load mh-loaddefs during compilation as well.
+
 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
 
 	* mh-e.el (mh-loaddefs): Load rather than require.
--- 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)