From b570c68c75314cb58be5a22f0a6afd310c0efca2 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 19 Apr 2015 14:48:39 +0100 Subject: [PATCH] Run BufOpenFifo hook when opening a fifo in a (new or already existing) buffer --- src/buffer_utils.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/buffer_utils.cc b/src/buffer_utils.cc index eda4d9d4..c02a283f 100644 --- a/src/buffer_utils.cc +++ b/src/buffer_utils.cc @@ -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; }