Skip to content

Commit

Permalink
[try] use autoloads for init-forge compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pkryger committed Nov 15, 2024
1 parent 3bf6d76 commit 677db8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions modules/init-forge.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
4 changes: 4 additions & 0 deletions modules/init-git.el
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit 677db8c

Please sign in to comment.