From a28427d1290aad4862a51aeef6aa131df06d337c Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 27 Jan 2022 23:27:15 +0000 Subject: [PATCH] el/dot-emacs.el: Autoload SLIME while compiling. --- el/dot-emacs.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 21933de..6a6112d 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -4792,11 +4792,12 @@ align the other subforms beneath it. Otherwise, indent them (if mdw-friendly-name (setq ad-return-value mdw-friendly-name) ad-do-it)) -(trap - (if (not mdw-fast-startup) - (progn - (require 'slime-autoloads) - (slime-setup '(slime-autodoc slime-c-p-c))))) +(eval-and-compile + (trap + (if (not mdw-fast-startup) + (progn + (require 'slime-autoloads) + (slime-setup '(slime-autodoc slime-c-p-c)))))) (let ((stuff '((cmucl ("cmucl")) (sbcl ("sbcl") :coding-system utf-8-unix) -- 2.11.0