diff options
| -rw-r--r-- | doc/lispref/positions.texi | 3 | ||||
| -rw-r--r-- | lisp/subr.el | 15 |
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index e74a165b9ed..3d769bfe78a 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi | |||
| @@ -1169,7 +1169,8 @@ saved bounds. In that case it is equivalent to | |||
| 1169 | 1169 | ||
| 1170 | @cindex labeled narrowing | 1170 | @cindex labeled narrowing |
| 1171 | @cindex labeled restriction | 1171 | @cindex labeled restriction |
| 1172 | When the optional argument @var{label}, a symbol, is present, the | 1172 | When the optional argument @var{label}, which is evaluated to get the |
| 1173 | label to use and must yield a non-@code{nil} value, is present, the | ||
| 1173 | narrowing is @dfn{labeled}. A labeled narrowing differs from a | 1174 | narrowing is @dfn{labeled}. A labeled narrowing differs from a |
| 1174 | non-labeled one in several ways: | 1175 | non-labeled one in several ways: |
| 1175 | 1176 | ||
diff --git a/lisp/subr.el b/lisp/subr.el index 0b397b7bebf..43cf4572fe2 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -3964,11 +3964,11 @@ See also `locate-user-emacs-file'.") | |||
| 3964 | 3964 | ||
| 3965 | The current restrictions, if any, are restored upon return. | 3965 | The current restrictions, if any, are restored upon return. |
| 3966 | 3966 | ||
| 3967 | When the optional :label LABEL argument is present, in which | 3967 | When the optional LABEL argument, which is evaluated to get the |
| 3968 | LABEL is a symbol, inside BODY, `narrow-to-region' and `widen' | 3968 | label to use and must yield a non-nil value, is present, inside |
| 3969 | can be used only within the START and END limits. To gain access | 3969 | BODY, `narrow-to-region' and `widen' can be used only within the |
| 3970 | to other portions of the buffer, use `without-restriction' with the | 3970 | START and END limits. To gain access to other portions of the |
| 3971 | same LABEL argument. | 3971 | buffer, use `without-restriction' with the same LABEL argument. |
| 3972 | 3972 | ||
| 3973 | \(fn START END [:label LABEL] BODY)" | 3973 | \(fn START END [:label LABEL] BODY)" |
| 3974 | (declare (indent 2) (debug t)) | 3974 | (declare (indent 2) (debug t)) |
| @@ -3990,9 +3990,8 @@ same LABEL argument. | |||
| 3990 | 3990 | ||
| 3991 | The current restrictions, if any, are restored upon return. | 3991 | The current restrictions, if any, are restored upon return. |
| 3992 | 3992 | ||
| 3993 | When the optional :label LABEL argument is present, the | 3993 | When the optional LABEL argument is present, the restrictions set |
| 3994 | restrictions set by `with-restriction' with the same LABEL argument | 3994 | by `with-restriction' with the same LABEL argument are lifted. |
| 3995 | are lifted. | ||
| 3996 | 3995 | ||
| 3997 | \(fn [:label LABEL] BODY)" | 3996 | \(fn [:label LABEL] BODY)" |
| 3998 | (declare (indent 0) (debug t)) | 3997 | (declare (indent 0) (debug t)) |