reenable undo support on fifo buffers when the fifo closes

This commit is contained in:
Maxime Coste 2013-11-20 22:18:02 +00:00
parent b90594353c
commit 90ea3023fe

View File

@ -65,6 +65,7 @@ Buffer* open_fifo(const String& name , const String& filename, Context& context)
{
kak_assert(buffer->flags() & Buffer::Flags::Fifo);
buffer->flags() &= ~Buffer::Flags::Fifo;
buffer->flags() &= ~Buffer::Flags::NoUndo;
close(watcher.fd());
delete &watcher;
}