Mercurial > hg > xemacs-beta
diff lisp/cl/cl-extra.el @ 187:b405438285a2 r20-3b20
Import from CVS: tag r20-3b20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:56:28 +0200 |
parents | 364816949b59 |
children |
line wrap: on
line diff
--- a/lisp/cl/cl-extra.el Mon Aug 13 09:55:30 2007 +0200 +++ b/lisp/cl/cl-extra.el Mon Aug 13 09:56:28 2007 +0200 @@ -163,14 +163,17 @@ (setq cl-list (cdr cl-list))) (nreverse cl-res)))) -(defun mapc (cl-func cl-seq &rest cl-rest) - "Like `mapcar', but does not accumulate values returned by the function." - (if cl-rest - (apply 'map nil cl-func cl-seq cl-rest) - ;; XEmacs change: we call mapc-internal, which really doesn't - ;; accumulate any results. - (mapc-internal cl-func cl-seq)) - cl-seq) + +;; mapc is now in C, renamed from `mapc-internal'. + +;(defun mapc (cl-func cl-seq &rest cl-rest) +; "Like `mapcar', but does not accumulate values returned by the function." +; (if cl-rest +; (apply 'map nil cl-func cl-seq cl-rest) +; ;; XEmacs change: we call mapc-internal, which really doesn't +; ;; accumulate any results. +; (mapc-internal cl-func cl-seq)) +; cl-seq) (defun mapl (cl-func cl-list &rest cl-rest) "Like `maplist', but does not accumulate values returned by the function."