From ed399f26fa78fa69171e32b34af9a77debf57fad Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sat, 8 Oct 2016 16:44:47 +0300 Subject: [PATCH] ; Minor improvement in documentation of generators * doc/lispref/control.texi (Generators): Add a 'require' to the example code. (Bug#24539) --- doc/lispref/control.texi | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2