diff --git a/src/buffer.cc b/src/buffer.cc index 608161d3..2e248a3c 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -40,8 +40,6 @@ Buffer::Buffer(String name, Flags flags, std::vector lines, pos += m_lines.back().length(); } - Editor editor_for_hooks(*this); - InputHandler hook_handler(editor_for_hooks); if (flags & Flags::File) { if (flags & Flags::New)