aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2018-08-25 19:29:12 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2018-10-21 20:01:34 +0200
commitd7777ed44e085ee809688379aef96dc05883b2fa (patch)
tree3c4a73ae2206c7c8a50dbaed778298b726da2da9 /src/config.c
parent5ad0019b2326e4012299e36682669ca767f39cd4 (diff)
downloadcalcurse-d7777ed44e085ee809688379aef96dc05883b2fa.tar.gz
calcurse-d7777ed44e085ee809688379aef96dc05883b2fa.zip
A save refinement: no action if everything is unchanged
A reload action will do nothing if in-memory data as well as data files are unchanged. This commit accomplishes the equivalent for a save action. Because saving of configuration data and key bindings are mixed up with saving of data files, any changes in those will only be saved if data files also have changed. Hence, configuration data and key bindings are also saved upon exit from the configuration menu. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/config.c')
0 files changed, 0 insertions, 0 deletions