mu4e: no error if org-mu4e cannot be found

This commit is contained in:
syl20bnr 2016-01-12 00:08:51 -05:00
parent 3d63dd4392
commit 9a7c22152c
2 changed files with 2 additions and 2 deletions

View File

@ -53,6 +53,6 @@
(defun mu4e/post-init-org ()
;; load org-mu4e when org is actually loaded
(with-eval-after-load 'org (require 'org-mu4e)))
(with-eval-after-load 'org (require 'org-mu4e nil 'noerror)))

View File

@ -77,7 +77,7 @@
(defun org/pre-init-mu4e ()
;; Load org-mu4e when mu4e is actually loaded
(spacemacs|use-package-add-hook mu4e
:post-config (require 'org-mu4e)))
:post-config (require 'org-mu4e nil 'noerror)))
;; dummy init function to force installation of `org-plus-contrib'
(defun org/init-org-plus-contrib ())