diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-23 13:05:33 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-23 13:05:33 -0500 |
| commit | 6f453c065c7eb212c7bc7a845c32acdc2e931a5c (patch) | |
| tree | 2923c6af87907284149069ca1caf9c01810c0810 /modules/restclient-config.el | |
| parent | fd05cd6b69350cc6e5007f2ab5d3c60445497a3a (diff) | |
| download | dotemacs-6f453c065c7eb212c7bc7a845c32acdc2e931a5c.tar.gz dotemacs-6f453c065c7eb212c7bc7a845c32acdc2e931a5c.zip | |
fix(linear): load API key for check-setup and pin org file to emacs home
linear-emacs-check-setup read linear-emacs-api-key directly and bailed to "API key is not set" before making any request, so the lazy :before advice on the GraphQL request never fired for it. A fresh session always reported the key missing even though it was in authinfo. I extracted cj/linear--install-key-advice and put the loader on check-setup as well as the request entry point, with a regression test.
I also pinned linear-emacs-org-file-path to data/linear.org inside emacs home, next to the calendar-sync output. Left to its default it falls back to org-directory/gtd/linear.org and silently created a stray ~/org tree on the first pull.
The init.el require is commented out for now while linear-emacs is reworked. The config will need rework once that lands.
Diffstat (limited to 'modules/restclient-config.el')
0 files changed, 0 insertions, 0 deletions
