From a078e3f4b241118338eb603cb6c5b6550ff6cc86 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 7 Oct 2018 00:47:14 -0400 Subject: [PATCH] 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. --- modules/lang/common-lisp/config.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/lang/common-lisp/config.el b/modules/lang/common-lisp/config.el index e7cd71ca4..8a07794fc 100644 --- a/modules/lang/common-lisp/config.el +++ b/modules/lang/common-lisp/config.el @@ -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)