Skip to content

Commit 34bc997

Browse files
committed
remove unused headline variable
1 parent 003b9d9 commit 34bc997

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lua/orgmode/org/mappings.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ function OrgMappings:toggle_checkbox()
163163
checkbox = checkbox:gsub('%[[%sXx%-]?%]$', new_val)
164164
local new_line = line:gsub(pattern, checkbox)
165165
vim.fn.setline('.', new_line)
166-
local headline = Headline:new(tree_utils.closest_headline())
167166
local list = List:new(tree_utils.closest_list())
168167
list:update_parent_cookie()
169168
end

0 commit comments

Comments
 (0)