diff options
| author | 2025-10-27 06:43:41 +0200 | |
|---|---|---|
| committer | 2025-10-27 06:48:17 +0200 | |
| commit | 2c3c09c4d88fec16c9501193c5b1468d91fcf62d (patch) | |
| tree | 81c28fad767ddc56349e4610421f8825899d5167 | |
| parent | emacs: Improve mu4e build (diff) | |
| download | dotfiles-2c3c09c4d88fec16c9501193c5b1468d91fcf62d.tar.gz dotfiles-2c3c09c4d88fec16c9501193c5b1468d91fcf62d.tar.xz dotfiles-2c3c09c4d88fec16c9501193c5b1468d91fcf62d.zip | |
emacs: Don't shit up mu4e's repo
| -rw-r--r-- | emacs/.config/emacs/init.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el index 182bd18..6d05b35 100644 --- a/emacs/.config/emacs/init.el +++ b/emacs/.config/emacs/init.el | |||
| @@ -23,6 +23,8 @@ | |||
| 23 | (defconst tmp-dir (expand-file-name "tmp" local-dir)) | 23 | (defconst tmp-dir (expand-file-name "tmp" local-dir)) |
| 24 | (defconst shared-dir (expand-file-name "shared" base-dir)) | 24 | (defconst shared-dir (expand-file-name "shared" base-dir)) |
| 25 | 25 | ||
| 26 | (defconst local-prefix (expand-file-name "prefix" local-dir)) | ||
| 27 | |||
| 26 | (defconst arkta-dashboard-buffer "*ARKTA*") | 28 | (defconst arkta-dashboard-buffer "*ARKTA*") |
| 27 | 29 | ||
| 28 | ;; TODO: Check how to do add smth like `:advice (fn :around advice)` sometime | 30 | ;; TODO: Check how to do add smth like `:advice (fn :around advice)` sometime |
| @@ -395,18 +397,16 @@ | |||
| 395 | :pre-build | 397 | :pre-build |
| 396 | (("./autogen.sh" | 398 | (("./autogen.sh" |
| 397 | "--prefix" | 399 | "--prefix" |
| 398 | ,(expand-file-name "installation-prefix" | 400 | ,local-prefix) |
| 399 | (straight--repos-dir "mu"))) | ||
| 400 | ("ninja" "-C" "build") | 401 | ("ninja" "-C" "build") |
| 401 | ("ninja" "-C" "build" "install")) | 402 | ("ninja" "-C" "build" "install")) |
| 402 | :files | 403 | :files |
| 403 | (:defaults | 404 | (:defaults |
| 404 | "installation-prefix/share/emacs/site-lisp/mu4e/*.el" | 405 | ,(expand-file-name "share/emacs/site-lisp/mu4e/*.el" local-prefix) |
| 405 | "installation-prefix/share/info/*")) | 406 | ,(expand-file-name "share/info/*" local-prefix))) |
| 406 | :commands mu4e | 407 | :commands mu4e |
| 407 | :custom | 408 | :custom |
| 408 | (mu4e-mu-binary (expand-file-name "installation-prefix/bin/mu" | 409 | (mu4e-mu-binary (expand-file-name "bin/mu" local-prefix)) |
| 409 | (straight--repos-dir "mu"))) | ||
| 410 | 410 | ||
| 411 | (mu4e-get-mail-command "mbsync -a") | 411 | (mu4e-get-mail-command "mbsync -a") |
| 412 | (mu4e-change-filenames-when-moving t) | 412 | (mu4e-change-filenames-when-moving t) |