mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
use-package mu4e
This commit is contained in:
parent
0441d32ae8
commit
6c0bff6ba9
22
init.org
22
init.org
@ -1040,9 +1040,15 @@
|
||||
I use [[http://www.djcbsoftware.nl/code/mu/mu4e.html][mu4e]] (which is a part of [[http://www.djcbsoftware.nl/code/mu/][mu]]) along with [[https://isync.sourceforge.io/][mbsync]].
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
||||
(when load-mail-setup
|
||||
(with-eval-after-load 'mu4e
|
||||
(use-package mu4e
|
||||
:ensure nil
|
||||
:defer t
|
||||
:if (and (file-exists-p "~/Maildir")
|
||||
(executable-find "mbsync")
|
||||
(executable-find "msmtp")
|
||||
(executable-find "mu"))
|
||||
:bind ("C-x m" . mu4e)
|
||||
:config
|
||||
(setq
|
||||
mail-user-agent 'mu4e-user-agent
|
||||
user-full-name "Lars Tveito" ; Your full name
|
||||
@ -1066,8 +1072,6 @@
|
||||
mu4e-trash-folder "/Drafts"
|
||||
|
||||
mu4e-use-fancy-chars t))
|
||||
(autoload 'mu4e "mu4e" nil t))
|
||||
|
||||
#+end_src
|
||||
|
||||
* ChatGPT
|
||||
@ -1839,14 +1843,6 @@
|
||||
|
||||
#+end_src
|
||||
|
||||
** Bindings for mu4e
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
||||
(define-key custom-bindings-map (kbd "C-x m") 'mu4e)
|
||||
|
||||
#+end_src
|
||||
|
||||
** Bindings for built-ins
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
Loading…
Reference in New Issue
Block a user