diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-11-14 13:59:33 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-11-14 19:39:35 +0000 |
| commit | b3ba769220aad0a3ac2a969d43c58396b3753aa7 (patch) | |
| tree | fb01b5f5e8cd5260ea23aff309bcdcf9ba017f94 /src/buffer.hh | |
| parent | cb074793a0af099754a7fba9c2a5755bd2130d31 (diff) | |
Propagate the hooks disabled state through prompt, menu, and command execution
Maintain it as well during buffer creation even if the hooks are not executed
in client context.
Fixes #818
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index d95d41bc..839b3d62 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -109,8 +109,9 @@ public: New = 1 << 1, Fifo = 1 << 2, NoUndo = 1 << 3, - Debug = 1 << 4, - ReadOnly = 1 << 5, + NoHooks = 1 << 4, + Debug = 1 << 5, + ReadOnly = 1 << 6, }; Buffer(String name, Flags flags, StringView data = {}, |
