Run BufOpenFifo hook when opening a fifo in a (new or already existing) buffer

This commit is contained in:
Maxime Coste 2015-04-19 14:48:39 +01:00
parent 95a14c5049
commit b570c68c75

View File

@ -161,6 +161,7 @@ Buffer* create_fifo_buffer(String name, int fd, bool scroll)
buffer->values()[fifo_watcher_id] = Value(std::move(watcher));
buffer->flags() = Buffer::Flags::Fifo | Buffer::Flags::NoUndo;
buffer->run_hook_in_own_context("BufOpenFifo", name);
return buffer;
}