From ae1aa776d6e10ec30ff76b89ed71ff5ad1b752af Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 28 Jan 2000 17:31:00 +0000 Subject: [PATCH] (cl-parse-loop-clause): Recognize `collecting' as synonym for `collect'. --- lisp/emacs-lisp/cl-macs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5