summaryrefslogtreecommitdiffstats
path: root/cmd-save-buffer.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-14 22:14:22 +0000
committernicm <nicm>2016-10-14 22:14:22 +0000
commited971268be7cfd5a4a8223211401654b30a57cbd (patch)
treeced6a43b231a88614d2419c9b16b8dc914e82b61 /cmd-save-buffer.c
parentd413a945acd9ffbc5d34a4d459b82721e648541d (diff)
Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.
Diffstat (limited to 'cmd-save-buffer.c')
-rw-r--r--cmd-save-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-save-buffer.c b/cmd-save-buffer.c
index f52061f7..1e08baab 100644
--- a/cmd-save-buffer.c
+++ b/cmd-save-buffer.c
@@ -41,7 +41,7 @@ const struct cmd_entry cmd_save_buffer_entry = {
.args = { "ab:", 1, 1 },
.usage = "[-a] " CMD_BUFFER_USAGE " path",
- .flags = 0,
+ .flags = CMD_AFTERHOOK,
.exec = cmd_save_buffer_exec
};
@@ -52,7 +52,7 @@ const struct cmd_entry cmd_show_buffer_entry = {
.args = { "b:", 0, 0 },
.usage = CMD_BUFFER_USAGE,
- .flags = 0,
+ .flags = CMD_AFTERHOOK,
.exec = cmd_save_buffer_exec
};