Fix void macro errors after byte-compiling

This commit is contained in:
Henrik Lissner 2018-05-15 03:24:30 +02:00
parent 1320d83834
commit 9a2c4f297c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 14 additions and 12 deletions

View file

@ -76,10 +76,11 @@
(defvar +default-repeat-forward-key ";")
(defvar +default-repeat-backward-key ",")
(eval-and-compile
;; Makes ; and , the universal repeat-keys in evil-mode
(eval-when-compile
(defmacro do-repeat! (command next-func prev-func)
"Repeat motions with ;/,"
"Makes ; and , the universal repeat-keys in evil-mode. These keys can be
customized by changing `+default-repeat-forward-key' and
`+default-repeat-backward-key'."
(let ((fn-sym (intern (format "+evil*repeat-%s" (doom-unquote command)))))
`(progn
(defun ,fn-sym (&rest _)