From 90ea3023fe25be011c00fd7ed6c75c6d4214139a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 20 Nov 2013 22:18:02 +0000 Subject: [PATCH] reenable undo support on fifo buffers when the fifo closes --- src/commands.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands.cc b/src/commands.cc index 42546a48..386a7181 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -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; }