summaryrefslogtreecommitdiff
path: root/src/vars.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vars.c')
-rw-r--r--src/vars.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vars.c b/src/vars.c
index 10c87a0..807e206 100644
--- a/src/vars.c
+++ b/src/vars.c
@@ -58,6 +58,9 @@ int foreground, background;
*/
enum ui_mode ui_mode = UI_CMDLINE;
+/* Don't save anything if this is set. */
+int read_only = 0;
+
/*
* variables to store calendar names
*/