From 09a57e4076d38bd54576ba4476b36aa5b5e8ba02 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 7 Feb 2026 14:22:03 -0800 Subject: [PATCH] ci: fix gh-pages build by setting user-emacs-directory The org-config macro reads preface/custom/config/bind .el files from user-emacs-directory at macro-expansion time. In CI this defaulted to ~/.emacs.d/ where those files don't exist, causing the build to fail. Point it at the repo's emacs.d directory instead. Co-Authored-By: Claude Opus 4.6 --- gen-gh-pages/generate-html.el | 1 + 1 file changed, 1 insertion(+) diff --git a/gen-gh-pages/generate-html.el b/gen-gh-pages/generate-html.el index f325af22..ac5d2f06 100755 --- a/gen-gh-pages/generate-html.el +++ b/gen-gh-pages/generate-html.el @@ -12,6 +12,7 @@ (setq emacs-dir (expand-file-name "../dotfiles/emacs.d/" (file-name-directory load-file-name))) +(setq user-emacs-directory emacs-dir) (setq readme-src (concat emacs-dir "README.org"))