858f68f9c6
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.
566 B
566 B
Aner's Emacs Chess Configuration
Base setup
Require
(require 'azos-emacs-base)
Lichess
(use-package lichess
:demand t
:init
(defun azos/chess/open ()
"Open lichess in its dedicated \"chess\" tab."
(interactive)
(azos/tab-bar/open-singleton-tab "chess" #'lichess))
:bind
(:map azos/global-minor-mode/open-keymap
("k" . azos/chess/open)))
Provide
(provide 'azos-emacs-chess)