lang/common-lisp: fix sly-mode localleader keys

This fixes a bug that caused evil keybinds on sly-mode-map to be
inaccessible until you switched states.
This commit is contained in:
Henrik Lissner 2018-10-07 00:47:14 -04:00
parent ba93402dcc
commit a078e3f4b2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -115,6 +115,7 @@ bin/doom while packages at compile-time (not a runtime though)."
;; Since `evil-collection-slime' exists, but not `evil-collection-sly', we
;; simply copy it
(when (featurep! :feature evil +everywhere)
(add-hook 'sly-mode-hook #'evil-normalize-keymaps)
(add-hook 'sly-popup-buffer-mode-hook #'evil-normalize-keymaps)
(unless evil-move-beyond-eol
(advice-add #'sly-eval-last-expression :around #'+common-lisp*sly-last-sexp)