From 5abc0508f0f2d8bc93d42dab7503db501c4d9c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Kryger?= Date: Fri, 15 Nov 2024 10:29:59 +0000 Subject: [PATCH] [try] use autoloads for init-forge compilation issues --- modules/init-forge.el | 3 +-- modules/init-git.el | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/init-forge.el b/modules/init-forge.el index 886f7c3c..0576ced8 100644 --- a/modules/init-forge.el +++ b/modules/init-forge.el @@ -15,8 +15,7 @@ (eval-when-compile (unless (featurep 'init-require) (load (file-name-concat (locate-user-emacs-file "modules") "init-require")))) -(exordium-require 'init-git nil - :functions (magit-refresh magit-git-string)) +(exordium-require 'init-git) (exordium-require 'init-markdown nil :functions (markdown-preview)) diff --git a/modules/init-git.el b/modules/init-git.el index 2cce8947..5decd9b9 100644 --- a/modules/init-git.el +++ b/modules/init-git.el @@ -45,6 +45,10 @@ These are restored by `exordium-magit-quit-session'.") exordium-magit-log-buffer exordium-magit-log exordium--magit-fullscreen) + + :autoload (magit-refresh ; required by init-forge.el + magit-git-string) ; required by init-forge.el + :defines (magit-last-seen-setup-instructions) :init (defun exordium-magit-log-buffer ()