summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2018-01-11 11:24:38 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2018-01-11 11:24:38 -0500
commit1f7f03742de79b143efdbc8c005c31adfe0600db (patch)
tree46c654ea4ba251521716c36873a616ea8795976b
parentdbb4aac212833035203efb969339b71aff86f2ea (diff)
downloademacs-1f7f03742de79b143efdbc8c005c31adfe0600db.tar.gz
* lisp/emacs-lisp/generator.el (iter-defun): Add 'doc-string' prop.
-rw-r--r--lisp/emacs-lisp/generator.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/generator.el b/lisp/emacs-lisp/generator.el
index b19f6fab722..506df59d8e2 100644
--- a/lisp/emacs-lisp/generator.el
+++ b/lisp/emacs-lisp/generator.el
@@ -681,7 +681,8 @@ When called as a function, NAME returns an iterator value that
encapsulates the state of a computation that produces a sequence
of values. Callers can retrieve each value using `iter-next'."
(declare (indent defun)
- (debug (&define name lambda-list lambda-doc def-body)))
+ (debug (&define name lambda-list lambda-doc def-body))
+ (doc-string 3))
(cl-assert lexical-binding)
(let* ((parsed-body (macroexp-parse-body body))
(declarations (car parsed-body))