org-mu4e: small cleanups

This commit is contained in:
djcb
2018-08-18 08:57:18 +03:00
parent 35d9c60a40
commit 84fce77d0a

View File

@ -33,10 +33,7 @@
;; the 'noerror is just to make sure bytecompilations does not break... ;; the 'noerror is just to make sure bytecompilations does not break...
;; FIXME: find a better solution (require 'org)
(require 'org nil 'noerror)
(require 'org-exp nil 'noerror)
(eval-when-compile (require 'cl)) (eval-when-compile (require 'cl))
(defgroup org-mu4e nil (defgroup org-mu4e nil
@ -263,7 +260,7 @@ body."
(when org-mu4e-convert-to-html (when org-mu4e-convert-to-html
(mu4e-message "Converting to html") (mu4e-message "Converting to html")
(org~mu4e-mime-convert-to-html))) (org~mu4e-mime-convert-to-html)))
(defun org~mu4e-mime-switch-headers-or-body () (defun org~mu4e-mime-switch-headers-or-body ()
"Switch the buffer to either mu4e-compose-mode (when in headers) "Switch the buffer to either mu4e-compose-mode (when in headers)
or org-mode (when in the body)." or org-mode (when in the body)."