Add option to allow creation of backups to be disabled
commit33fee83f110c86bf014bd4fb460bb38bae626a10
authorRichard Barlow <richard@richardbarlow.co.uk>
Wed, 21 Dec 2011 14:33:45 +0000 (21 14:33 +0000)
committerPeter TB Brett <peter@peter-b.co.uk>
Wed, 21 Dec 2011 21:29:35 +0000 (21 21:29 +0000)
tree9443dcba906e353d242ed8cd591f888822792e49
parent6fac0c0f99b51a845f8ab7be2c358f703a54d61f
Add option to allow creation of backups to be disabled

When using a version control system the backup (example.sch~) files
created by libgeda become annoying. They can be ignored by most
VCSs however they still sit there and don't serve any purpose; any
mistakes can be recovered from a previous version.

This patch adds a configuration option "no-backup-files" which
suppresses the creation of backup files. It is disabled by default
so there is no change to the previous behaviour unless this option
is activated.

Closes-bug: lp-762894
libgeda/include/i_vars_priv.h
libgeda/include/libgeda/struct.h
libgeda/include/prototype_priv.h
libgeda/lib/system-gafrc
libgeda/src/f_basic.c
libgeda/src/g_rc.c
libgeda/src/g_register.c
libgeda/src/i_vars.c
libgeda/src/s_toplevel.c