aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 08:07:33 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 08:07:33 -0500
commitc123250c3cf928864aab118e1b9bfbaf9e1102b3 (patch)
tree4894ee322c441d8775f26883ff55b62b921ad63b /docs
parent1e21c2c31a44d3a2a9e302de4712b482de597058 (diff)
downloaddotemacs-c123250c3cf928864aab118e1b9bfbaf9e1102b3.tar.gz
dotemacs-c123250c3cf928864aab118e1b9bfbaf9e1102b3.zip
feat(telega-config): guard launcher with a helpful message when telega is missing
Without the guard, both `C-; G' and the dashboard Telegram icon trigger telega's autoload stub directly. When the package isn't installed yet the user sees `Cannot open load file: telega' in `*Messages*' with no hint about what to do. Wrap the launcher in `cj/telega' that checks `featurep' / `locate-library' first. If telega is present, delegate to it. Otherwise signal a `user-error' pointing at `scripts/setup-telega.sh' and the manual `M-x package-install RET telega' fallback. Rebind `C-; G' and the dashboard "g" key + Telegram icon callback to the wrapper. Two new tests in `test-telega-config.el' cover the wrapper paths (absent -> user-error with the recovery hint; present -> delegates to `telega') alongside the updated binding assertion.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions