From e22d2bf663a4cc4fbeed5730c8f0ec7a446e43c8 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 23 Jun 2011 22:35:20 -0400 Subject: Use string constants for event names. --- modules/textadept/bookmarks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/bookmarks.lua') diff --git a/modules/textadept/bookmarks.lua b/modules/textadept/bookmarks.lua index 7db46b65..d4f01cf0 100644 --- a/modules/textadept/bookmarks.lua +++ b/modules/textadept/bookmarks.lua @@ -86,5 +86,5 @@ function goto() end if buffer then buffer:marker_set_back(MARK_BOOKMARK, MARK_BOOKMARK_COLOR) end -events.connect('view_new', +events.connect(events.VIEW_NEW, function() buffer:marker_set_back(MARK_BOOKMARK, MARK_BOOKMARK_COLOR) end) -- cgit v1.2.3