aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/bookmarks.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/bookmarks.lua')
-rw-r--r--modules/textadept/bookmarks.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/textadept/bookmarks.lua b/modules/textadept/bookmarks.lua
index 852c0df9..4e2d7b03 100644
--- a/modules/textadept/bookmarks.lua
+++ b/modules/textadept/bookmarks.lua
@@ -73,7 +73,6 @@ local function set_bookmark_properties()
if CURSES then buffer:marker_define(MARK_BOOKMARK, CURSES_MARK) end
buffer.marker_back[MARK_BOOKMARK] = buffer.property_int[M.BOOKMARK_COLOR]
end
-if buffer then set_bookmark_properties() end
events.connect(events.VIEW_NEW, set_bookmark_properties)
return M