bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24539: [PATCH] Add require statement to example code for generaetors


From: Wilfred Hughes
Subject: bug#24539: [PATCH] Add require statement to example code for generaetors
Date: Sun, 25 Sep 2016 10:37:44 -0400

>From ef390eecf8ed547236c39ad99d715f4e690204ff Mon Sep 17 00:00:00 2001
From: Wilfred Hughes <address@hidden>
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]