From 5b3d39a6ac36e344ae95666b6b60f3ee1d4e1057 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 13 Jan 2011 23:40:55 -0500 Subject: More informative check_focused_buffer() error message. --- core/gui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/gui.lua') 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 -- cgit v1.2.3