diff --git a/modules/lang/common-lisp/config.el b/modules/lang/common-lisp/config.el index a401dd657..a0b1a450c 100644 --- a/modules/lang/common-lisp/config.el +++ b/modules/lang/common-lisp/config.el @@ -23,6 +23,12 @@ :definition #'sly-edit-definition :documentation #'sly-describe-symbol)) + ;; HACK Ensures that sly's contrib modules are loaded as soon as possible, but + ;; also as late as possible, so users have an opportunity to override + ;; `sly-contrib' in an `after!' block. + (add-hook! 'doom-after-init-modules-hook + (after! sly (sly-setup))) + :config (setq sly-mrepl-history-file-name (concat doom-cache-dir "sly-mrepl-history") sly-kill-without-query-p t