diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-14 08:07:33 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-14 08:07:33 -0500 |
| commit | 6f2330c1e15fe0b97ae7ead32d5afd2d785ac2ee (patch) | |
| tree | 7931fad826b10010755078a559a8e6327a6b1d3e /tests/test-ui-navigation--toggle-window-split.el | |
| parent | f56f4ef9fb533bf0dca24d911136c21071ac8d73 (diff) | |
| download | dotemacs-6f2330c1e15fe0b97ae7ead32d5afd2d785ac2ee.tar.gz dotemacs-6f2330c1e15fe0b97ae7ead32d5afd2d785ac2ee.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 'tests/test-ui-navigation--toggle-window-split.el')
0 files changed, 0 insertions, 0 deletions
