Don't raise error when mu4e doesn't exist
This commit is contained in:
parent
46a80a0e45
commit
30a806dcfc
@ -213,13 +213,15 @@ useful for alternating between light and dark themes"
|
||||
(when (file-exists-p cargo-bin)
|
||||
(add-to-list 'exec-path cargo-bin)))
|
||||
|
||||
(require 'mu4e)
|
||||
(global-unset-key (kbd "C-x m")) ; We don't want the default compose-mail
|
||||
(when (require 'mu4e nil t)
|
||||
(setq mu4e-maildir (concat (getenv "HOME") "/.mail"))
|
||||
(setq mu4e-drafts-folder "/Drafts")
|
||||
(setq mu4e-sent-folder "/Sent")
|
||||
(setq mu4e-trash-folder "/Trash")
|
||||
(setq mu4e-get-mail-command "offlineimap")
|
||||
(setq mu4e-view-show-addresses t)
|
||||
(global-set-key (kbd "C-x m") 'mu4e)
|
||||
|
||||
(setq mu4e-compose-reply-to-address "kevin@kevincotugno.com"
|
||||
user-mail-address "kevin@kevincotugno.com"
|
||||
@ -229,6 +231,7 @@ useful for alternating between light and dark themes"
|
||||
smtpmail-smtp-server "smtp.cotugno.family"
|
||||
smtpmail-stream-type 'starttls
|
||||
smtpmail-smtp-service 587)
|
||||
(setq message-kill-buffer-on-exit t)
|
||||
(setq message-kill-buffer-on-exit t))
|
||||
|
||||
|
||||
;; End Plugins
|
||||
|
Loading…
Reference in New Issue
Block a user