diff options
-rw-r--r-- | modules/textadept/run.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index 0213e333..77748fdb 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -310,7 +310,7 @@ function M.goto_error(line, next) end end events.connect(events.DOUBLE_CLICK, function(pos, line) - if is_msg_buf(buffer) then M.goto_error(line) end + if is_msg_buf(buffer) and M.cwd then M.goto_error(line) end end) return M |