diff options
author | Wilfred Hughes <me@wilfred.me.uk> | 2016-10-08 16:44:47 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-10-08 16:44:47 +0300 |
commit | ed399f26fa78fa69171e32b34af9a77debf57fad (patch) | |
tree | b207cbd17f789b9b7431dc6eea3c9f613591fe6d /doc/lispref/control.texi | |
parent | 197a6bcc20cecba40b56ae478d42a33eb1e19d57 (diff) | |
download | emacs-ed399f26fa78fa69171e32b34af9a77debf57fad.tar.gz |
; Minor improvement in documentation of generators
* doc/lispref/control.texi (Generators): Add a 'require' to the
example code. (Bug#24539)
Diffstat (limited to 'doc/lispref/control.texi')
-rw-r--r-- | doc/lispref/control.texi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi index 0cdb03548bf..0c0827909a3 100644 --- a/doc/lispref/control.texi +++ b/doc/lispref/control.texi @@ -805,6 +805,7 @@ The following piece of code demonstrates some important principles of working with iterators. @example +(require 'generator) (iter-defun my-iter (x) (iter-yield (1+ (iter-yield (1+ x)))) ;; Return normally |