diff options
| author | Stefan Monnier | 2018-01-11 11:24:38 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2018-01-11 11:24:38 -0500 |
| commit | 1f7f03742de79b143efdbc8c005c31adfe0600db (patch) | |
| tree | 46c654ea4ba251521716c36873a616ea8795976b | |
| parent | dbb4aac212833035203efb969339b71aff86f2ea (diff) | |
| download | emacs-1f7f03742de79b143efdbc8c005c31adfe0600db.tar.gz emacs-1f7f03742de79b143efdbc8c005c31adfe0600db.zip | |
* lisp/emacs-lisp/generator.el (iter-defun): Add 'doc-string' prop.
| -rw-r--r-- | lisp/emacs-lisp/generator.el | 3 |
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 | |||
| 681 | encapsulates the state of a computation that produces a sequence | 681 | encapsulates the state of a computation that produces a sequence |
| 682 | of values. Callers can retrieve each value using `iter-next'." | 682 | of values. Callers can retrieve each value using `iter-next'." |
| 683 | (declare (indent defun) | 683 | (declare (indent defun) |
| 684 | (debug (&define name lambda-list lambda-doc def-body))) | 684 | (debug (&define name lambda-list lambda-doc def-body)) |
| 685 | (doc-string 3)) | ||
| 685 | (cl-assert lexical-binding) | 686 | (cl-assert lexical-binding) |
| 686 | (let* ((parsed-body (macroexp-parse-body body)) | 687 | (let* ((parsed-body (macroexp-parse-body body)) |
| 687 | (declarations (car parsed-body)) | 688 | (declarations (car parsed-body)) |