Run BufOpenFifo hook when opening a fifo in a (new or already existing) buffer
This commit is contained in:
parent
95a14c5049
commit
b570c68c75
|
@ -161,6 +161,7 @@ Buffer* create_fifo_buffer(String name, int fd, bool scroll)
|
||||||
|
|
||||||
buffer->values()[fifo_watcher_id] = Value(std::move(watcher));
|
buffer->values()[fifo_watcher_id] = Value(std::move(watcher));
|
||||||
buffer->flags() = Buffer::Flags::Fifo | Buffer::Flags::NoUndo;
|
buffer->flags() = Buffer::Flags::Fifo | Buffer::Flags::NoUndo;
|
||||||
|
buffer->run_hook_in_own_context("BufOpenFifo", name);
|
||||||
|
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user