diff options
| author | Glenn Morris | 2014-02-02 18:58:13 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-02-02 18:58:13 -0800 |
| commit | f16a3d523afc1a0c6bf7095f5f755ca16f8419d0 (patch) | |
| tree | 2609415c9014401a789cb9b106f7d9248caa3f81 /doc | |
| parent | eb9b8ff6af3e5339e6c051b7be13be76a52f22f4 (diff) | |
| download | emacs-f16a3d523afc1a0c6bf7095f5f755ca16f8419d0.tar.gz emacs-f16a3d523afc1a0c6bf7095f5f755ca16f8419d0.zip | |
* doc/misc/cl.texi (Blocks and Exits): Mention cl-tagbody.
* etc/NEWS: Related edit.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/cl.texi | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index f0ad9e709ab..c64e5e695dc 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-02-03 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * cl.texi (Blocks and Exits): Mention cl-tagbody. | ||
| 4 | |||
| 1 | 2014-02-02 Glenn Morris <rgm@gnu.org> | 5 | 2014-02-02 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * efaq-w32.texi (Tramp ssh): Remove deleted tramp methods. | 7 | * efaq-w32.texi (Tramp ssh): Remove deleted tramp methods. |
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index 0490cf639ac..2e3dd7434e0 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -1556,6 +1556,19 @@ Common Lisp loops like @code{cl-do} and @code{cl-dolist} implicitly enclose | |||
| 1556 | themselves in @code{nil} blocks. | 1556 | themselves in @code{nil} blocks. |
| 1557 | @end defmac | 1557 | @end defmac |
| 1558 | 1558 | ||
| 1559 | @c FIXME? Maybe this should be in a separate section? | ||
| 1560 | @defmac cl-tagbody &rest labels-or-statements | ||
| 1561 | This macro executes statements while allowing for control transfer to | ||
| 1562 | user-defined labels. Each element of @var{labels-or-statements} can | ||
| 1563 | be either a label (an integer or a symbol), or a cons-cell | ||
| 1564 | (a statement). This distinction is made before macroexpansion. | ||
| 1565 | Statements are executed in sequence, discarding any return value. | ||
| 1566 | Any statement can transfer control at any time to the statements that follow | ||
| 1567 | one of the labels with the special form @code{(go LABEL)}. | ||
| 1568 | Labels have lexical scope and dynamic extent. | ||
| 1569 | @end defmac | ||
| 1570 | |||
| 1571 | |||
| 1559 | @node Iteration | 1572 | @node Iteration |
| 1560 | @section Iteration | 1573 | @section Iteration |
| 1561 | 1574 | ||