From 747c040c0eb76deaf57a16495919ae7243021349 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 29 Dec 2018 20:56:12 -0500 Subject: [PATCH] default/config: explicitly use :states #1084 The 'motion alias didn't appear to be working. --- modules/config/default/+evil-bindings.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index cf4022c00..c099cab22 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -755,7 +755,7 @@ customized by changing `+default-repeat-forward-key' and (let ((fn-sym (intern (format "+default*repeat-%s" (doom-unquote command))))) `(progn (defun ,fn-sym (&rest _) - (define-key! 'motion + (define-key! :states 'motion (car +default-repeat-keys) #',next-func (cdr +default-repeat-keys) #',prev-func)) (advice-add #',command :before #',fn-sym))))