summaryrefslogtreecommitdiff
path: root/lisp/mh-e/mh-acros.el
diff options
context:
space:
mode:
authorBill Wohler <wohler@newt.com>2006-01-14 02:10:11 +0000
committerBill Wohler <wohler@newt.com>2006-01-14 02:10:11 +0000
commit4501e6fb6d77b4c56d2014c83d8ad35e5e8961ed (patch)
tree4b1c3a9c478eacbf8324e06342565c61722fb799 /lisp/mh-e/mh-acros.el
parent11db987fa8210ea303924adf4c362586fa6163d2 (diff)
downloademacs-4501e6fb6d77b4c56d2014c83d8ad35e5e8961ed.tar.gz
(require): Added Satyaki's comment regarding what needs to happen to
remove this defadvice which caused a little discussion on emacs-devel today (see Subject: mh-e/mh-acros.el advices `require' incorrectly).
Diffstat (limited to 'lisp/mh-e/mh-acros.el')
-rw-r--r--lisp/mh-e/mh-acros.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mh-e/mh-acros.el b/lisp/mh-e/mh-acros.el
index 7cd4ee9edb0..e37705ea54f 100644
--- a/lisp/mh-e/mh-acros.el
+++ b/lisp/mh-e/mh-acros.el
@@ -150,6 +150,9 @@ more details."
(list 'nth ,x z)))
(quote ,struct-name))))
+;; A better solution would be to use Stefan's change in bytecomp.el.
+;; If it were checked in, we can drop the advice to require and it
+;; will make things nicer elsewhere too.
(defadvice require (around mh-prefer-el activate)
"Modify `require' to load uncompiled MH-E files."
(or (featurep (ad-get-arg 0))