[Slime] Can’t load ‘slime-repl’ directly, use ‘eval-after-load’ instead

‘slime-repl’ is in the contrib directory of ‘slime’, which itself is not
contained in ‘load-path’.
This commit is contained in:
Daniel - 2018-01-28 11:10:34 +01:00
parent 5e3a0e0c43
commit 5510d02857
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6

View File

@ -1182,11 +1182,9 @@ are assumed to be of the form *.crt."
(cmucl ("cmucl") :coding-system utf-8-unix) (cmucl ("cmucl") :coding-system utf-8-unix)
(ccl ("ccl") :coding-system utf-8-unix))) (ccl ("ccl") :coding-system utf-8-unix)))
(eval-when-compile (eval-after-load 'slime-repl
(require 'slime-repl)) '(setq slime-repl-history-remove-duplicates t
slime-repl-history-trim-whitespaces t))))
(setq slime-repl-history-remove-duplicates t
slime-repl-history-trim-whitespaces t)))
(use-package hy-mode (use-package hy-mode
:commands (hy-mode) :commands (hy-mode)