Lazily retry lichess token fetch; demand-load lichess package

gpg-agent may not have a cached passphrase yet when the top-level setq
runs at Emacs startup, so a cold agent makes 'pass' fail silently
(stderr redirected) and leaves lichess-token permanently empty for the
session. Retry the fetch right before each use instead of only once
at startup.
This commit is contained in:
2026-10-06 00:30:30 +03:00
parent 8578e23114
commit 858f68f9c6
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -12,6 +12,7 @@
#+begin_src emacs-lisp
(use-package lichess
:demand t
:init
(defun azos/chess/open ()
"Open lichess in its dedicated \"chess\" tab."