aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r--modules/textadept/run.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index e5965fde..91c8a522 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -218,7 +218,6 @@ function M.goto_error(line, next)
-- If no line was given, find the next error marker.
if not line and next ~= nil then
- local buffer = buffer
local f = buffer['marker_'..(next and 'next' or 'previous')]
line = f(buffer, buffer:line_from_position(buffer.current_pos) +
(next and 1 or -1), 2^MARK_ERROR)