bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nesting of unwind-protect and atomic-change-group


From: Roland Winkler
Subject: nesting of unwind-protect and atomic-change-group
Date: Fri, 01 Feb 2008 17:48:56 +0100

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). 

Maybe the proper ordering of unwind-protect and atomic-change-group
is obvious for experts. Nonetheless, I suggest that this should be
documented in the docstring of atomic-change-group (as it is, e.g.,
for save-excursion and save-restriction.)

Roland


In GNU Emacs 22.1.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-10-15 on tfkp07
configured using `configure  '--prefix=/nfs/tfkp07/winkler/emacs/NEW' 
'--with-gcc' '--with-pop' '--with-x' '--with-x-toolkit=athena''




reply via email to

[Prev in Thread] Current Thread [Next in Thread]