aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/bookmarks.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-06-23 22:35:20 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-06-23 22:35:20 -0400
commite22d2bf663a4cc4fbeed5730c8f0ec7a446e43c8 (patch)
tree76df894b4f5468c3d85d990129e1e13b890e4ea9 /modules/textadept/bookmarks.lua
parent79a37f07e3f57694a436db9a25e296c8d177041a (diff)
downloadtextadept-e22d2bf663a4cc4fbeed5730c8f0ec7a446e43c8.tar.gz
textadept-e22d2bf663a4cc4fbeed5730c8f0ec7a446e43c8.zip
Use string constants for event names.
Diffstat (limited to 'modules/textadept/bookmarks.lua')
-rw-r--r--modules/textadept/bookmarks.lua2
1 files changed, 1 insertions, 1 deletions
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)