branch: elpa/lua-mode
commit adb1f3a7c69ef09cf4df5282a4aabd4c08d99738
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>
lua_loadstring: fix variables that were made global
---
lua-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua-mode.el b/lua-mode.el
index 614c0ec..8137619 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -1702,7 +1702,7 @@ This function just searches for a `end' at the beginning
of a line."
" str = string.rep('\\n', lineoffset - 1) .. str"
" end"
""
- " x, e = loadstring(str, '@'..displayname)"
+ " local x, e = loadstring(str, '@'..displayname)"
" if e then"
" error(e)"
" end"