From 5510d028570e3492bbc87e967ea289d70ef9e2ef Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 28 Jan 2018 11:10:34 +0100 Subject: [PATCH] =?UTF-8?q?[Slime]=20Can=E2=80=99t=20load=20=E2=80=98slime?= =?UTF-8?q?-repl=E2=80=99=20directly,=20use=20=E2=80=98eval-after-load?= =?UTF-8?q?=E2=80=99=20instead?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ‘slime-repl’ is in the contrib directory of ‘slime’, which itself is not contained in ‘load-path’. --- init.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/init.el b/init.el index 8d5c092..bc5a23f 100644 --- a/init.el +++ b/init.el @@ -1182,11 +1182,9 @@ are assumed to be of the form *.crt." (cmucl ("cmucl") :coding-system utf-8-unix) (ccl ("ccl") :coding-system utf-8-unix))) - (eval-when-compile - (require 'slime-repl)) - - (setq slime-repl-history-remove-duplicates t - slime-repl-history-trim-whitespaces t))) + (eval-after-load 'slime-repl + '(setq slime-repl-history-remove-duplicates t + slime-repl-history-trim-whitespaces t)))) (use-package hy-mode :commands (hy-mode)