Mu4e: Tidy up org-msg use-package statement

reduce unnecessary nesting
This commit is contained in:
TEC 2020-10-01 01:56:45 +08:00
parent a974db04c4
commit d4c5c6245f
No known key found for this signature in database
GPG key ID: 779591AFDB81F06C

View file

@ -170,9 +170,9 @@
(advice-add #'mu4e~main-action-str :override #'mu4e~main-action-prettier-str)) (advice-add #'mu4e~main-action-str :override #'mu4e~main-action-prettier-str))
(when (featurep! :lang org) (use-package! org-msg
(use-package! org-msg
:after (mu4e org) :after (mu4e org)
:when (featurep! :lang org)
:config :config
(setq org-msg-options "html-postamble:nil H:5 num:nil ^:{} toc:nil author:nil email:nil \\n:t tex:dvipng" (setq org-msg-options "html-postamble:nil H:5 num:nil ^:{} toc:nil author:nil email:nil \\n:t tex:dvipng"
org-msg-startup "hidestars indent inlineimages" org-msg-startup "hidestars indent inlineimages"
@ -317,7 +317,7 @@ Must be set before org-msg is loaded to take effect.")
(margin-top . "10px") (margin-bottom . "0px") (margin-top . "10px") (margin-bottom . "0px")
,font-size (max-width . "100ch"))) ,font-size (max-width . "100ch")))
(b nil ((font-weight . "500") (color . ,theme-color))) (b nil ((font-weight . "500") (color . ,theme-color)))
(div nil (,@font (line-height . "12pt")))))))) (div nil (,@font (line-height . "12pt")))))))
;; ;;