diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-01-28 17:31:00 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-01-28 17:31:00 +0000 |
commit | ae1aa776d6e10ec30ff76b89ed71ff5ad1b752af (patch) | |
tree | cbcacc63b66712fa94d74c901273184017521f23 /lisp/emacs-lisp/cl-macs.el | |
parent | 850e3ba089fd970aa90d679d9458e65d11b9b716 (diff) | |
download | emacs-ae1aa776d6e10ec30ff76b89ed71ff5ad1b752af.tar.gz |
(cl-parse-loop-clause): Recognize
`collecting' as synonym for `collect'.
Diffstat (limited to 'lisp/emacs-lisp/cl-macs.el')
-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: (cl-push (list (list temp (cl-pop args))) loop-bindings) (cl-push (list '>= (list 'setq temp (list '1- temp)) 0) loop-body))) - ((eq word 'collect) + ((memq word '(collect collecting)) (let ((what (cl-pop args)) (var (cl-loop-handle-accum nil 'nreverse))) (if (eq var loop-accum-var) |