1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-20 18:11:36 +03:00

Buffer: reset undo data after executing hooks in constructor

This commit is contained in:
Maxime Coste 2012-09-11 19:03:37 +02:00
parent a0b75817a5
commit e39086cd5f

View File

@ -44,6 +44,8 @@ Buffer::Buffer(String name, Type type,
m_hook_manager.run_hook("BufOpen", m_name, context);
m_hook_manager.run_hook("BufCreate", m_name, context);
reset_undo_data();
}
Buffer::~Buffer()