* lisp/subr.el (cancel-change-group): Reset cell in case of error
commit682fdae7efe5a36636539b953a657445f2f3382b
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Jul 2016 17:14:50 +0000 (26 13:14 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Jul 2016 17:14:50 +0000 (26 13:14 -0400)
treed9316f8b790c64117468fe41ebce0da7d117cb2d
parentc54238db6aabeb5ebc74ee60af65a8af27aa6426
* lisp/subr.el (cancel-change-group): Reset cell in case of error

Since the setcdr/setcdr is supposed to be temporary, use unwind-protect
to make sure we properly undo the temporary change even in case of error.
lisp/subr.el