summaryrefslogtreecommitdiff
path: root/lisp/mh-e/mh-gnus.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2017-05-06 18:20:21 -0700
committerGlenn Morris <rgm@gnu.org>2017-05-06 18:20:21 -0700
commit1f8036a522d4a7603e0b07fa5cc70f5bbdc15653 (patch)
tree7e109f127d04f83a4179ab5153502925edce75e5 /lisp/mh-e/mh-gnus.el
parent233cfb0ea93ecdd2b63298be4243059e2e7a91fd (diff)
downloademacs-1f8036a522d4a7603e0b07fa5cc70f5bbdc15653.tar.gz
Evaluate mh-require when compiling
* lisp/mh-e/mh-alias.el, lisp/mh-e/mh-folder.el: * lisp/mh-e/mh-gnus.el, lisp/mh-e/mh-search.el: Evaluate mh-require when compiling, as require is automatically. * lisp/mh-e/mh-gnus.el: No longer disable byte-compilation.
Diffstat (limited to 'lisp/mh-e/mh-gnus.el')
-rw-r--r--lisp/mh-e/mh-gnus.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/mh-e/mh-gnus.el b/lisp/mh-e/mh-gnus.el
index 3afdb7501ff..318759ddc1b 100644
--- a/lisp/mh-e/mh-gnus.el
+++ b/lisp/mh-e/mh-gnus.el
@@ -30,11 +30,12 @@
(require 'mh-e)
-(mh-require 'gnus-util nil t)
-(mh-require 'mm-bodies nil t)
-(mh-require 'mm-decode nil t)
-(mh-require 'mm-view nil t)
-(mh-require 'mml nil t)
+(eval-and-compile
+ (mh-require 'gnus-util nil t)
+ (mh-require 'mm-bodies nil t)
+ (mh-require 'mm-decode nil t)
+ (mh-require 'mm-view nil t)
+ (mh-require 'mml nil t))
;; Copy of function from gnus-util.el.
;; TODO This is not in Gnus 5.11.
@@ -170,7 +171,6 @@ PROMPT overrides the default one used to ask user for a file name."
(provide 'mh-gnus)
;; Local Variables:
-;; no-byte-compile: t
;; no-update-autoloads: t
;; indent-tabs-mode: nil
;; sentence-end-double-space: nil