tweak(wanderlust): add +xface flag
This commit is contained in:
parent
a20ca0cc0a
commit
a461a1f62c
3 changed files with 17 additions and 0 deletions
|
@ -15,6 +15,9 @@
|
||||||
- +gmail ::
|
- +gmail ::
|
||||||
Enable gmail-specific configuration for mail ~To~ or ~From~ a gmail address.
|
Enable gmail-specific configuration for mail ~To~ or ~From~ a gmail address.
|
||||||
|
|
||||||
|
- +xface ::
|
||||||
|
Enable support of [X-Face] powered by [compface].
|
||||||
|
|
||||||
** Packages
|
** Packages
|
||||||
- [[doom-package:wanderlust]]
|
- [[doom-package:wanderlust]]
|
||||||
|
|
||||||
|
@ -52,3 +55,6 @@
|
||||||
#+begin_quote
|
#+begin_quote
|
||||||
This module has no appendix yet. [[doom-contrib-module:][Write one?]]
|
This module has no appendix yet. [[doom-contrib-module:][Write one?]]
|
||||||
#+end_quote
|
#+end_quote
|
||||||
|
|
||||||
|
[X-Face]: https://en.wikipedia.org/wiki/X-Face
|
||||||
|
[compface]: http://freecode.com/projects/compface/
|
||||||
|
|
|
@ -82,6 +82,11 @@
|
||||||
|
|
||||||
(setq wl-message-id-domain wl-local-domain))
|
(setq wl-message-id-domain wl-local-domain))
|
||||||
|
|
||||||
|
;; Use x-face only when compface installed
|
||||||
|
(when (modulep! +xface)
|
||||||
|
(autoload 'x-face-decode-message-header "x-face-e21")
|
||||||
|
(setq wl-highlight-x-face-function 'x-face-decode-message-header))
|
||||||
|
|
||||||
;; Use alert for alerting
|
;; Use alert for alerting
|
||||||
(when (fboundp 'alert)
|
(when (fboundp 'alert)
|
||||||
(setq wl-biff-notify-hook '((lambda () (alert "You have new mail!" :title "Wanderlust")))))
|
(setq wl-biff-notify-hook '((lambda () (alert "You have new mail!" :title "Wanderlust")))))
|
||||||
|
|
|
@ -9,3 +9,9 @@
|
||||||
(package! semi :recipe (:branch "semi-1_14-wl") :pin "9063a4485b148a767ea924f0e7cc78d3524ba256")
|
(package! semi :recipe (:branch "semi-1_14-wl") :pin "9063a4485b148a767ea924f0e7cc78d3524ba256")
|
||||||
|
|
||||||
(package! wanderlust :pin "9fd2c65e8d690625f35035a71e73f51f740dbe04")
|
(package! wanderlust :pin "9fd2c65e8d690625f35035a71e73f51f740dbe04")
|
||||||
|
|
||||||
|
(when (modulep! +xface)
|
||||||
|
(package! x-face-e21
|
||||||
|
:recipe (:host nil :repo "https://salsa.debian.org/debian/x-face-el.git"
|
||||||
|
:files ("debian/x-face-e21.el"))
|
||||||
|
:pin "871156a776cc1bc9dd035205b6875c55db6ae215"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue