aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2009-11-04 04:33:25 +0000
committerStefan Monnier2009-11-04 04:33:25 +0000
commit601dd9a3a99ed7433e16164ee291f5cb05254594 (patch)
tree0f97d96ff3a939aa95d5190362bb8bb176097920
parent56f14120aee00a81708d9d5030de2fafb23dd016 (diff)
downloademacs-601dd9a3a99ed7433e16164ee291f5cb05254594.tar.gz
emacs-601dd9a3a99ed7433e16164ee291f5cb05254594.zip
Load mh-loaddefs during compilation as well.
-rw-r--r--lisp/mh-e/ChangeLog4
-rw-r--r--lisp/mh-e/mh-e.el5
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 0ad943588bd..f67ba5600b4 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,7 @@
12009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * mh-e.el: Load mh-loaddefs during compilation as well.
4
12009-11-04 Juanma Barranquero <lekktu@gmail.com> 52009-11-04 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * mh-e.el (mh-loaddefs): Load rather than require. 7 * mh-e.el (mh-loaddefs): Load rather than require.
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el
index 7b7a9e5d9b5..916bbe29834 100644
--- a/lisp/mh-e/mh-e.el
+++ b/lisp/mh-e/mh-e.el
@@ -92,7 +92,10 @@
92;; Provide functions to the rest of MH-E. However, mh-e.el must not 92;; Provide functions to the rest of MH-E. However, mh-e.el must not
93;; use any definitions in files that require mh-e from mh-loaddefs, 93;; use any definitions in files that require mh-e from mh-loaddefs,
94;; for if it does it will introduce a require loop. 94;; for if it does it will introduce a require loop.
95(load "mh-loaddefs" nil 'nomessage) 95(eval-and-compile
96 ;; Load it during compilation as well, since it defines the macro
97 ;; mh-require-cl.
98 (load "mh-loaddefs" nil 'nomessage))
96 99
97(mh-require-cl) 100(mh-require-cl)
98 101