diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-14 08:07:21 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-14 08:07:21 -0500 |
| commit | fe01f885df36016315d87ba8064e28b14fc77d72 (patch) | |
| tree | a2f267d60be34f9fca006ee9369dbeed119496e9 /modules/dashboard-config.el | |
| parent | 9dc45a753b74b818054f861e2999adb012fa46b6 (diff) | |
| download | dotemacs-fe01f885df36016315d87ba8064e28b14fc77d72.tar.gz dotemacs-fe01f885df36016315d87ba8064e28b14fc77d72.zip | |
feat(setup-telega): install the telega Emacs package alongside docker setup
modules/telega-config.el uses `:ensure nil' on the use-package block
(a stale MELPA archive index can 404 and take startup down if
auto-install runs in init). The trade-off was that a fresh clone
needed a one-time `M-x package-install RET telega' before the
dashboard launcher or `C-; G' would work -- the autoload stub
would fail with `Cannot open load file: telega' instead.
Hit it on this machine just now: dashboard pressed, autoload tried
to load telega.el, no telega.el on the load-path, cryptic error.
Add `ensure_telega_package' to the setup script: probe with
`(package-installed-p 'telega)' under `emacs --batch'; if absent,
refresh MELPA and install via package.el; if that fails, surface
the manual recovery path. Wire it into `main' after the docker
checks. Four new bats tests cover the missing-emacs, already-
installed, install-succeeds, and install-fails paths with `emacs'
stubbed at the function level.
Diffstat (limited to 'modules/dashboard-config.el')
0 files changed, 0 insertions, 0 deletions
