Lisp/SLY: Don't load SLY when Emacs starts, set Lisp implementations after load.

master
Pierre Neidhardt 2020-11-07 15:13:37 +01:00
parent fb78466e11
commit 5b4c9f16ed
1 changed files with 8 additions and 8 deletions

View File

@ -182,7 +182,7 @@
`("--core" ,core))))
(ccl ("ccl"))
(ecl ("ecl"))))))
(advice-add 'sly :before #'ambrevar/set-lisp-implementations)
(ambrevar/set-lisp-implementations)
(with-eval-after-load 'sly-mrepl
(setq sly-mrepl-history-file-name (expand-file-name "sly-mrepl-history" user-emacs-directory))
@ -261,14 +261,14 @@
(add-hook 'slime-repl-mode-hook 'ambrevar/init-lispy)
(add-hook 'slime-repl-mode-hook #'ambrevar/slime-rainbow-init)))
(with-eval-after-load 'sly
(when (require 'helm-sly nil 'noerror)
(global-helm-sly-mode)
(add-to-list 'helm-source-names-using-follow "Lisp xrefs"))
(when (require 'helm-sly nil 'noerror)
(global-helm-sly-mode)
(add-to-list 'helm-source-names-using-follow "Lisp xrefs"))
(when (require 'helm-slime nil 'noerror)
(global-helm-slime-mode)
(add-to-list 'helm-source-names-using-follow "SLIME xrefs"))
(when (require 'helm-slime nil 'noerror)
(global-helm-slime-mode)
(add-to-list 'helm-source-names-using-follow "SLIME xrefs")))
;; REVIEW: Redshank is probably dead: merge those features into SLIME/Sly?
(with-eval-after-load 'redshank