diff options
| author | Gerd Moellmann | 2000-01-28 17:31:00 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-01-28 17:31:00 +0000 |
| commit | ae1aa776d6e10ec30ff76b89ed71ff5ad1b752af (patch) | |
| tree | cbcacc63b66712fa94d74c901273184017521f23 | |
| parent | 850e3ba089fd970aa90d679d9458e65d11b9b716 (diff) | |
| download | emacs-ae1aa776d6e10ec30ff76b89ed71ff5ad1b752af.tar.gz emacs-ae1aa776d6e10ec30ff76b89ed71ff5ad1b752af.zip | |
(cl-parse-loop-clause): Recognize
`collecting' as synonym for `collect'.
| -rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index af2d31cf216..85287507f58 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el | |||
| @@ -888,7 +888,7 @@ Valid clauses are: | |||
| 888 | (cl-push (list (list temp (cl-pop args))) loop-bindings) | 888 | (cl-push (list (list temp (cl-pop args))) loop-bindings) |
| 889 | (cl-push (list '>= (list 'setq temp (list '1- temp)) 0) loop-body))) | 889 | (cl-push (list '>= (list 'setq temp (list '1- temp)) 0) loop-body))) |
| 890 | 890 | ||
| 891 | ((eq word 'collect) | 891 | ((memq word '(collect collecting)) |
| 892 | (let ((what (cl-pop args)) | 892 | (let ((what (cl-pop args)) |
| 893 | (var (cl-loop-handle-accum nil 'nreverse))) | 893 | (var (cl-loop-handle-accum nil 'nreverse))) |
| 894 | (if (eq var loop-accum-var) | 894 | (if (eq var loop-accum-var) |