[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
1 changed files with 3 additions and 5 deletions

View File

@ -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)