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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user