[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nesting of unwind-protect and atomic-change-group
From: |
Stefan Monnier |
Subject: |
Re: nesting of unwind-protect and atomic-change-group |
Date: |
Fri, 01 Feb 2008 23:31:22 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
> When combining unwind-protect and atomic-change-group I found that
> putting unwind-protect outermost worked for me (i.e., an unwindform
> moving point to the buffer location where the error occured was
> obeyed), whereas doing it the other way round didn't work for me
> (the unwindform was ignored).
I'm pretty sure the unwind form is not ignored. Maybe the unwind form
you tried happened to do something that's undone by the
atomic-change-group undoing of buffer changes?
Maybe this is even a bug in atomic-change-group.
So please spell out your test case,
Stefan
.
- Re: nesting of unwind-protect and atomic-change-group,
Stefan Monnier <=