all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24539: [PATCH] Add require statement to example code for generaetors
@ 2016-09-25 14:37 Wilfred Hughes
  2016-10-08 13:45 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Wilfred Hughes @ 2016-09-25 14:37 UTC (permalink / raw)
  To: 24539

From ef390eecf8ed547236c39ad99d715f4e690204ff Mon Sep 17 00:00:00 2001
From: Wilfred Hughes <me@wilfred.me.uk>
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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-08 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-25 14:37 bug#24539: [PATCH] Add require statement to example code for generaetors Wilfred Hughes
2016-10-08 13:45 ` Eli Zaretskii
2016-10-08 18:39   ` Wilfred Hughes

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.