From 75c182f5c9419b05e6fc71c4947cef5c7877c7a7 Mon Sep 17 00:00:00 2001 From: djcb Date: Mon, 27 Aug 2012 22:07:12 +0300 Subject: [PATCH] * mu4e: workaround (hack) for org-mu4e bytecompilation (don't require org-exp) --- mu4e/org-mu4e.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mu4e/org-mu4e.el b/mu4e/org-mu4e.el index 23b845de..89d62555 100644 --- a/mu4e/org-mu4e.el +++ b/mu4e/org-mu4e.el @@ -27,10 +27,11 @@ ;;; Code: -;;(require 'org) -(eval-when-compile (require 'org-exp)) (eval-when-compile (require 'cl)) (eval-when-compile (require 'mu4e)) +;; hack: we don't want to require org (as that doesn't always work in +;; byte-compiliation, yet we'd like to prevent compilations warnings +(eval-when-compile (defun org-export-string (&rest x))) (defgroup org-mu4e nil "Settings for the org-mode related functionality in mu4e."