From 677db8ce46f5e1c50cacfb7a2696028ffcd754bd 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 88754c14..6a83041c 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 a440c97a..f73d532d 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 ()