branch: elpa/lua-mode
commit bba7fc06a3425396968f2502fcbad01bd4eee25e
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>
Fix byte-compilation
---
lua-mode.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lua-mode.el b/lua-mode.el
index eec9a64..267277e 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -269,9 +269,11 @@ traceback location."
["Search Documentation" lua-search-documentation t])
"Emacs menu for Lua mode.")
-(defconst
- lua--builtins
- (eval-and-compile
+;; the whole defconst is inside eval-when-compile, because it's later
referenced
+;; inside another eval-and-compile block
+(eval-and-compile
+ (defconst
+ lua--builtins
(let*
((modules
'("_G" "_VERSION" "assert" "collectgarbage" "dofile" "error"
"getfenv" "getmetatable"