Mercurial > hg > xemacs-beta
diff src/editfns.c @ 4907:9e7f5a77cc84
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 01 Feb 2010 01:05:28 -0600 |
parents | 6ef8256a020a 755ae5b97edb |
children | e813cf16c015 |
line wrap: on
line diff
--- a/src/editfns.c Mon Feb 01 01:02:40 2010 -0600 +++ b/src/editfns.c Mon Feb 01 01:05:28 2010 -0600 @@ -2131,8 +2131,8 @@ Execute BODY, saving and restoring current buffer's restrictions. The buffer's restrictions make parts of the beginning and end invisible. \(They are set up with `narrow-to-region' and eliminated with `widen'.) -This special form, `save-restriction', saves the current buffer's restrictions -when it is entered, and restores them when it is exited. +This special operator, `save-restriction', saves the current buffer's +restrictions when it is entered, and restores them when it is exited. So any `narrow-to-region' within BODY lasts only until the end of the form. The old restrictions settings are restored even in case of abnormal exit (throw or error).