Skip to content

Commit

Permalink
lua_loadstring: fix variables that were made global
Browse files Browse the repository at this point in the history
  • Loading branch information
immerrr committed Nov 1, 2016
1 parent 432d9a0 commit adb1f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit adb1f3a

Please sign in to comment.