diff options
| author | Stefan Monnier | 2015-04-24 16:11:35 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2015-04-24 16:11:35 -0400 |
| commit | e224c9465dfe7033b11c0aeb830298c101c9bdcc (patch) | |
| tree | 72847f19bb9220eedc8d729c3c813c4bea36c13b /doc | |
| parent | 18a78f8215cc0052bf41d23b8d594cde50d776dd (diff) | |
| download | emacs-e224c9465dfe7033b11c0aeb830298c101c9bdcc.tar.gz emacs-e224c9465dfe7033b11c0aeb830298c101c9bdcc.zip | |
* lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
(seq-doseq): Fix out-of-scope binding.
Don't call `seq-length at every iteration.
Reduce `if's from 3 to 2 per iteration.
(emacs-lisp-mode-hook): Don't tweak in Emacsā„25.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/sequences.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi index e1330f7d594..b48fae4741f 100644 --- a/doc/lispref/sequences.texi +++ b/doc/lispref/sequences.texi | |||
| @@ -790,7 +790,7 @@ of type @var{type}. @var{type} can be one of the following symbols: | |||
| 790 | @end example | 790 | @end example |
| 791 | @end defun | 791 | @end defun |
| 792 | 792 | ||
| 793 | @defmac seq-doseq (var sequence [result]) body@dots{} | 793 | @defmac seq-doseq (var sequence) body@dots{} |
| 794 | @cindex sequence iteration | 794 | @cindex sequence iteration |
| 795 | This macro is like @code{dolist}, except that @var{sequence} can be a list, | 795 | This macro is like @code{dolist}, except that @var{sequence} can be a list, |
| 796 | vector or string (@pxref{Iteration} for more information about the | 796 | vector or string (@pxref{Iteration} for more information about the |