aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/commands.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-02-21 21:36:22 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2011-02-21 21:36:22 -0500
commitf99e117979d13bcb5ad1b6836ebadbef080a9fcf (patch)
tree08f6c601173e8d109d1a07a4ae1cce66b6a3ac88 /modules/lua/commands.lua
parent5079722f9c6834017d8c4db86080a027fec7d50b (diff)
downloadtextadept-f99e117979d13bcb5ad1b6836ebadbef080a9fcf.tar.gz
textadept-f99e117979d13bcb5ad1b6836ebadbef080a9fcf.zip
Lua module changes.
Diffstat (limited to 'modules/lua/commands.lua')
-rw-r--r--modules/lua/commands.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/lua/commands.lua b/modules/lua/commands.lua
index da7bd6aa..fb12461b 100644
--- a/modules/lua/commands.lua
+++ b/modules/lua/commands.lua
@@ -97,7 +97,6 @@ events.connect('file_after_save',
local _, err = loadstring(text)
if err then
local line, msg = err:match('^.-:(%d+):%s*(.+)$')
- line = tonumber(line)
if line then
buffer.annotation_visible = 2
buffer:annotation_set_text(line - 1, msg)