diff options
| author | 2025-10-21 18:57:47 +0300 | |
|---|---|---|
| committer | 2025-10-24 19:11:24 +0300 | |
| commit | 5c106531b1754b3e9a875f55765d9a0d78a2b299 (patch) | |
| tree | 58ead3536e89786e015f527d94c0d21244825d8f /emacs | |
| parent | emacs: Configure native compilation a bit (diff) | |
| download | dotfiles-5c106531b1754b3e9a875f55765d9a0d78a2b299.tar.gz dotfiles-5c106531b1754b3e9a875f55765d9a0d78a2b299.tar.xz dotfiles-5c106531b1754b3e9a875f55765d9a0d78a2b299.zip | |
emacs: Improve mu4e build
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/.config/emacs/init.el | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el index ee2c901..182bd18 100644 --- a/emacs/.config/emacs/init.el +++ b/emacs/.config/emacs/init.el | |||
| @@ -391,12 +391,22 @@ | |||
| 391 | (message-send-mail-function #'smtpmail-send-it)) | 391 | (message-send-mail-function #'smtpmail-send-it)) |
| 392 | 392 | ||
| 393 | (use-package mu4e | 393 | (use-package mu4e |
| 394 | :straight '(mu4e :type git :host github :repo "djcb/mu" | 394 | :straight `(mu4e :type git :host github :repo "djcb/mu" |
| 395 | :pre-build (("./autogen.sh") ("ninja" "-C" "build")) | 395 | :pre-build |
| 396 | :files (:defaults "build/mu4e/*.el")) | 396 | (("./autogen.sh" |
| 397 | "--prefix" | ||
| 398 | ,(expand-file-name "installation-prefix" | ||
| 399 | (straight--repos-dir "mu"))) | ||
| 400 | ("ninja" "-C" "build") | ||
| 401 | ("ninja" "-C" "build" "install")) | ||
| 402 | :files | ||
| 403 | (:defaults | ||
| 404 | "installation-prefix/share/emacs/site-lisp/mu4e/*.el" | ||
| 405 | "installation-prefix/share/info/*")) | ||
| 397 | :commands mu4e | 406 | :commands mu4e |
| 398 | :custom | 407 | :custom |
| 399 | (mu4e-mu-binary (expand-file-name "build/mu/mu" (straight--repos-dir "mu"))) | 408 | (mu4e-mu-binary (expand-file-name "installation-prefix/bin/mu" |
| 409 | (straight--repos-dir "mu"))) | ||
| 400 | 410 | ||
| 401 | (mu4e-get-mail-command "mbsync -a") | 411 | (mu4e-get-mail-command "mbsync -a") |
| 402 | (mu4e-change-filenames-when-moving t) | 412 | (mu4e-change-filenames-when-moving t) |