default/config: explicitly use :states #1084

The 'motion alias didn't appear to be working.
This commit is contained in:
Henrik Lissner
2018-12-29 20:56:12 -05:00
parent 937252af4e
commit 747c040c0e

View File

@ -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))))