From 5f29cb8190dbee6bb10b4eb904c8c39750de352d Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 23 Nov 2010 19:09:21 -0500 Subject: Code cleanup. Also modified the editing module's enclose() and select_enclosed() functions. --- modules/textadept/bookmarks.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/textadept/bookmarks.lua') diff --git a/modules/textadept/bookmarks.lua b/modules/textadept/bookmarks.lua index 581390d4..bc5eac9b 100644 --- a/modules/textadept/bookmarks.lua +++ b/modules/textadept/bookmarks.lua @@ -49,10 +49,7 @@ end --- -- Clears all bookmarks in the current buffer. -function clear() - local buffer = buffer - buffer:marker_delete_all(MARK_BOOKMARK) -end +function clear() buffer:marker_delete_all(MARK_BOOKMARK) end --- -- Goes to the next bookmark in the current buffer. -- cgit v1.2.3