fix: org-store-link doesn't work unless you load mu4e
When mu4e layer is present org-store-link doesn't work immediately when you start Emacs, unless you explicitly load mu4e. It'd display "Please load mu4e before mu4e-org" message and do nothing.
This commit is contained in:
parent
0e9edda361
commit
7234d61003
|
@ -152,7 +152,9 @@ mu4e-use-maildirs-extension-load to be evaluated after mu4e has been loaded."
|
||||||
|
|
||||||
(defun mu4e/pre-init-org ()
|
(defun mu4e/pre-init-org ()
|
||||||
;; load mu4e-org when org is actually loaded
|
;; load mu4e-org when org is actually loaded
|
||||||
(with-eval-after-load 'org (require 'mu4e-org nil 'noerror)))
|
(with-eval-after-load 'org
|
||||||
|
(require 'mu4e nil 'noerror)
|
||||||
|
(require 'mu4e-org nil 'noerror)))
|
||||||
|
|
||||||
(defun mu4e/pre-init-window-purpose ()
|
(defun mu4e/pre-init-window-purpose ()
|
||||||
(spacemacs|use-package-add-hook window-purpose
|
(spacemacs|use-package-add-hook window-purpose
|
||||||
|
|
Loading…
Reference in a new issue