Skip to content

Commit

Permalink
Custom in use-package
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfleischer committed Feb 7, 2023
1 parent 5406a0e commit 34565dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,23 @@ Install locally and use the =load-path= variable, e.g.:
:config (mu4easy-mode))
#+end_src

Or install with Melpa, e.g.:
Or install with Melpa. Here is an example with one email account:
#+begin_src elisp
(use-package mu4easy
:ensure t
:bind ("C-c u" . mu4e)
:config (mu4easy-mode))
:config (mu4easy-mode)
:custom
(mu4easy-contexts '((mu4easy-context
:c-name "Google"
:maildir "Gmail"
:mail "[email protected]"
:smtp "smtp.gmail.com"
:sent-action delete))))
#+end_src
See later more details on the =mu4easy-context= macro.

Also, have =mu= in your in PATH.
Make sure you have =mu= in your in PATH.

- mbsync Configuration
- [[#Google][Google]]
Expand Down
2 changes: 1 addition & 1 deletion mu4easy.el
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ See variable `mu4e-headers-fields'"
;; Mail Identities
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defcustom mu4easy-contexts
`((mu4easy-context
'((mu4easy-context
:c-name "Google"
:maildir "Gmail"
:mail "[email protected]"
Expand Down

0 comments on commit 34565dd

Please sign in to comment.