Files
azos/features/chess/emacs/config.org
T
aner 858f68f9c6 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.
2026-10-06 00:30:30 +03:00

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)