Introduces the seam that makes adopting upstream changes safe: config.el
holds what every machine shares, and a pcase on `system-type` at the end of
it loads exactly one OS file. Leaves are loaded last on purpose, so they
can override shared settings such as `gptel-backend'.
config-mac.el seeded from mac repo 0789326 and now owned locally
config-linux.el new; Linux paths and binaries only
config-local.el per-machine, gitignored (template: config-local.example.el)
Nothing changes for the current machine. The one line that moved -- the
eglot entry pointing elixir-ts-mode at /Users/willem/.elixir-ls/... -- was
already dead on Linux; it now lives in config-mac.el, and config-linux.el
picks `expert', any elixir-ls on PATH, or nothing at all, in that order.
Rationale: upstream already ships this exact layout (236c0e1 "refactor
config for multi-machine support"), so adopting it costs nothing and every
later upstream hunk then has an obvious correct home -- shared, mac, linux,
or not-committed.
Verified: parens/strings parse in all five .el files; `load!' arity checked
against doom-lib.el (filename &optional path noerror).
custom.el is written by Emacs itself (customize-set-variable) and was
committed on 2024-07-30 by accident. Upstream mac repo dropped it in
e8df0c9; adopting the same rule here so it can never come back.
Also ignores config-local.el (per-machine backends/paths, template in
config-local.example.el) and stale *.elc.