Handle special case for finding mu4e on bedrock linux
This commit is contained in:
parent
bf2e563410
commit
a084946f1a
11
config.org
11
config.org
@ -1385,6 +1385,17 @@
|
|||||||
(require 'mu4e)
|
(require 'mu4e)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
On Bedrock linux, Mu4e can't the =mu= binary as it's not in a
|
||||||
|
standard location. The location can be specified explicitly by
|
||||||
|
setting [[help:mu4e-mu-binary][mu4e-mu-binary]]. To check whether we're on Bedrock, we'll see
|
||||||
|
if the =brl= program is available, as =uname= will just yield
|
||||||
|
whichever distro bedrock booted from.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(when (< 0 (length (shell-command-to-string "which brl")))
|
||||||
|
(setq mu4e-mu-binary "/bedrock/cross/bin/mu"))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
The folder archived mail gets saved into is determined by
|
The folder archived mail gets saved into is determined by
|
||||||
[[help:mu4e-refile-folder][mu4e-refile-folder]]. I prefer to have archived mail stored on the
|
[[help:mu4e-refile-folder][mu4e-refile-folder]]. I prefer to have archived mail stored on the
|
||||||
remote since then it's accessible from every machine. The default is
|
remote since then it's accessible from every machine. The default is
|
||||||
|
Loading…
x
Reference in New Issue
Block a user