summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'command.h')
-rw-r--r--command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/command.h b/command.h
index 9c2fba3..63afdb2 100644
--- a/command.h
+++ b/command.h
@@ -41,6 +41,7 @@ ENUM_U16 {
CMD_OPEN, // open a file
CMD_SAVE, // save current buffer
CMD_SAVE_AS,
+ CMD_SAVE_ALL, // save all open buffers with unsaved changes
CMD_NEW,
CMD_UNDO,
CMD_REDO,
@@ -101,6 +102,7 @@ static CommandName const command_names[CMD_COUNT] = {
{"new", CMD_NEW},
{"save", CMD_SAVE},
{"save-as", CMD_SAVE_AS},
+ {"save-all", CMD_SAVE_ALL},
{"quit", CMD_QUIT},
{"undo", CMD_UNDO},
{"redo", CMD_REDO},