Mu4e: Feature gate org-msg package

This commit is contained in:
TEC 2020-09-23 00:00:39 +08:00
parent 0f7800b9d1
commit a29704a194
No known key found for this signature in database
GPG key ID: 779591AFDB81F06C
2 changed files with 9 additions and 8 deletions

View file

@ -105,13 +105,13 @@
:desc "save draft" "S" #'message-dont-send
:desc "attach" "a" #'mail-add-attachment))
(use-package! org-msg
:hook (mu4e-compose-pre . org-msg-mode)
:config
(setq org-msg-startup "inlineimages"
org-msg-greeting-name-limit 3
org-msg-text-plain-alternative t))
(when (featurep! :lang org)
(use-package! org-msg
:hook (org-load . org-msg-mode)
:config
(setq org-msg-startup "inlineimages"
org-msg-greeting-name-limit 3
org-msg-text-plain-alternative t)))

View file

@ -1,4 +1,5 @@
;; -*- no-byte-compile: t; -*-
;;; email/mu4e/packages.el
(package! org-msg :pin "2db6725c4a4f4342a9c61895b7c3c82795b01fee")
(when (featurep! :lang org)
(package! org-msg :pin "2db6725c4a4f4342a9c61895b7c3c82795b01fee"))