comparison 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
comparison
equal deleted inserted replaced
4906:6ef8256a020a 4907:9e7f5a77cc84
2129 2129
2130 DEFUN ("save-restriction", Fsave_restriction, 0, UNEVALLED, 0, /* 2130 DEFUN ("save-restriction", Fsave_restriction, 0, UNEVALLED, 0, /*
2131 Execute BODY, saving and restoring current buffer's restrictions. 2131 Execute BODY, saving and restoring current buffer's restrictions.
2132 The buffer's restrictions make parts of the beginning and end invisible. 2132 The buffer's restrictions make parts of the beginning and end invisible.
2133 \(They are set up with `narrow-to-region' and eliminated with `widen'.) 2133 \(They are set up with `narrow-to-region' and eliminated with `widen'.)
2134 This special form, `save-restriction', saves the current buffer's restrictions 2134 This special operator, `save-restriction', saves the current buffer's
2135 when it is entered, and restores them when it is exited. 2135 restrictions when it is entered, and restores them when it is exited.
2136 So any `narrow-to-region' within BODY lasts only until the end of the form. 2136 So any `narrow-to-region' within BODY lasts only until the end of the form.
2137 The old restrictions settings are restored 2137 The old restrictions settings are restored
2138 even in case of abnormal exit (throw or error). 2138 even in case of abnormal exit (throw or error).
2139 2139
2140 The value returned is the value of the last form in BODY. 2140 The value returned is the value of the last form in BODY.