diff options
author | 2011-01-13 23:40:55 -0500 | |
---|---|---|
committer | 2011-01-13 23:40:55 -0500 | |
commit | 5b3d39a6ac36e344ae95666b6b60f3ee1d4e1057 (patch) | |
tree | 4ed61d5f00624d02932a5a4adbf79087e96935fd /core/gui.lua | |
parent | 238ea9f6743bcd6d76db40511396b676520263dd (diff) | |
download | textadept-5b3d39a6ac36e344ae95666b6b60f3ee1d4e1057.tar.gz textadept-5b3d39a6ac36e344ae95666b6b60f3ee1d4e1057.zip |
More informative check_focused_buffer() error message.
Diffstat (limited to 'core/gui.lua')
-rw-r--r-- | core/gui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gui.lua b/core/gui.lua index 3418e5ea..ee0daafe 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -8,7 +8,7 @@ function gui.check_focused_buffer(buffer) if type(buffer) ~= 'table' or not buffer.doc_pointer then error(L('Buffer argument expected.'), 2) elseif gui.focused_doc_pointer ~= buffer.doc_pointer then - error(L('The indexed buffer is not the focused one.'), 2) + error(L('This buffer is not the current one.'), 2) end end |