From 3bc9497fc84abca0493083c3c208f0d2738bed38 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 22 Feb 2012 11:36:33 +0100 Subject: Add a read-only option We don't save any configuration nor items if this is set. This should be used with care, and hence there's no short option for this. Signed-off-by: Lukas Fleischer --- src/vars.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vars.c') 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 */ -- cgit v1.2.3-54-g00ecf