summaryrefslogtreecommitdiff
path: root/evil-collection-lua-mode.el
diff options
context:
space:
mode:
authorJames Nguyen <james@jojojames.com>2018-06-08 10:18:17 -0700
committerJames Nguyen <james@jojojames.com>2018-06-08 10:18:17 -0700
commit36f56362cca9e31631d84e0417c8d4c94d0cc2f8 (patch)
tree62ed693f6ad25861d43261b8281499802d84df5c /evil-collection-lua-mode.el
parent8c2c1e96f67dfbad3406860957f2264cfe63396f (diff)
Add declare-functions for evil-collection-define-key
Adding for byte compiling. TODO: Should look into doing an import instead since we shouldn't need to declare a function that our library should know about. I think there was some circular dependency around evil-collection-* requiring evil-collection.el so I went with the quick and dirty approach of doing a declare-function. If someone has a better idea, feel free to change this!
Diffstat (limited to 'evil-collection-lua-mode.el')
-rw-r--r--evil-collection-lua-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-collection-lua-mode.el b/evil-collection-lua-mode.el
index c75127d..baa3cc1 100644
--- a/evil-collection-lua-mode.el
+++ b/evil-collection-lua-mode.el
@@ -31,7 +31,7 @@
(require 'lua-mode nil t)
(defvar lua-indent-level)
-
+(declare-function evil-collection-define-key "evil-collection.el")
(defconst evil-collection-lua-mode-maps '(lua-mode-map))
(defun evil-collection-lua-mode-set-evil-shift-width ()