]> git.eshelyaron.com Git - emacs.git/commit
Make custom-data saving atomic
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Dec 2020 11:15:26 +0000 (12:15 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Dec 2020 11:15:29 +0000 (12:15 +0100)
commitf2bd536d36a89dac2a70c6a706d851ff73bcc40f
tree96511cebc78e884b5db2da34dbae085304a274f7
parent1052707230d3d3b3723eefa6dede7542a4ef28bd
Make custom-data saving atomic

* lisp/cus-edit.el (custom-save-all): Do the custom saves as an
atomic change group, to avoid writing invalid data if something
goes wrong (or the user hits `C-g') in the middle (bug#18633).
lisp/cus-edit.el