Wrap :on-load for +lua-love-mode in a progn

Fixes #1516.
This commit is contained in:
Oleksii Filonenko 2019-06-27 20:26:29 +03:00
parent 81cf6080bf
commit 57c52e4db6
No known key found for this signature in database
GPG key ID: F3510FE5691629A1

View file

@ -30,9 +30,10 @@
:modes (lua-mode markdown-mode json-mode)
:files (and "main.lua" "conf.lua")
:on-load
(set-project-type! 'love2d
:predicate #'+lua-love-project-root
:run #'+lua/run-love-game)
(map! :localleader
:map +lua-love-mode-map
"b" #'+lua/run-love-game))
(progn
(set-project-type! 'love2d
:predicate #'+lua-love-project-root
:run #'+lua/run-love-game)
(map! :localleader
:map +lua-love-mode-map
"b" #'+lua/run-love-game)))