Lispy: Use SLY if SLIME is not loaded.

master
Pierre Neidhardt 2019-10-13 12:55:16 +02:00
parent e0757fbad2
commit 8676a15b96
1 changed files with 5 additions and 3 deletions

View File

@ -59,9 +59,11 @@
(defun ambrevar/init-lispy ()
(when (require 'lispy nil t)
;; REVIEW: Fix SLIME REPL issue with "goto":
(add-to-list 'lispy-goto-symbol-alist
'(slime-repl-mode lispy-goto-symbol-lisp le-lisp))
(if (require 'slime nil 'noerror)
;; REVIEW: Fix SLIME REPL issue with "goto":
(add-to-list 'lispy-goto-symbol-alist
'(slime-repl-mode lispy-goto-symbol-lisp le-lisp))
(setq lispy-use-sly t))
(set-face-foreground 'lispy-face-hint "#FF00FF")
(when (require 'lispyville nil t)