Subject: [PATCH] Add require statement to example code for generaetors
From: Wilfred Hughes <[email-masked]>
To: [email-masked]
Date: Sun, 25 Sep 2016 10:37:44 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From ef390eecf8ed547236c39ad99d715f4e690204ff Mon Sep 17 00:00:00 2001
From: Wilfred Hughes <[email-masked]>
Date: Sun, 25 Sep 2016 10:34:42 -0400
Subject: [PATCH] Add require statement to example code

* doc/lispref/control.texi (Generators): Since generator is not
  autoloaded, we weren't documenting where this functionality is
  defined.
---
 doc/lispref/control.texi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index 0cdb035..0198644 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -805,6 +805,8 @@ Generators
 working with iterators.

 @example
+(require 'generator)
+
 (iter-defun my-iter (x)
   (iter-yield (1+ (iter-yield (1+ x))))
    ;; Return normally
-- 
2.10.0